Popular Posts

There was an error in this gadget

Jun 16, 2013

Publishing Apps- Get Started

Jun 11, 2013

Get Screen Size and Orientation in Android





Display display = ((WindowManager)getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
int width = display.getWidth();
int height = display.getHeight();
int orientation = display.getOrientation();