Code example for Display

Methods: getSize

0
	public static  Activity calActivity;
	public static  Activity activity;
 	 
	public static Display getScreenSize()
	{  Point p = new Point();
	    ScreenDisplay.getSize(p);
	    ScreenDisplay.getSize(p);
		return ScreenDisplay;
		 
	} 
	 
	public static void showEventStatusPopup( Activity activity) {
		 
		//Activity activity = (Activity) context; 
		Point p = new Point();
		 ScreenDisplay.getSize(p);
		  
		 int popupWidth = p.x;
	    int popupHeight = p.y;