Welcome!

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

Reply
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 10.1.0.1485

 

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

 

Thoughts?

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