I want to get real resolution of screen on Android Honeycomb.
Here\'s my code
Display display = getWindowManager().getDefaultDisplay();
int w = displ
Use the DisplayMetrics structure, describing general information about the display, such as its size, density, and font scaling.
The code used to get the display's height is as follows:
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
Log.d("log", "OOO " + metrics.heightPixels);
It's supposed to return the absolute height of the display, in pixels.