Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
My Carrier: Mobilink

Dev Alpha B Screen resolution 640x384

My Android app returns resolution 640x384 when called following on Dev Alpha B OS


Display display = getWindowManager().getDefaultDisplay();
int width = display.getWidth();
int height = display.getHeight();



Get Speedometer on your phone. http://www.speedometer.mobi