I am a very passionate Android application developer. I'll be keep posting here helping resources for fellow Android developers, development issues, new update news from Android and review of Android applications available in the market. So please keep in touch.
I am an Android Developer
Friday, July 16, 2010
Getting dimension of Android device's screen
If you want the the display dimensions in pixels you can use:
Display display = getWindowManager().getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight();