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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Android™ Runtime Development

Reply
Regular Contributor
Fraggle222
Posts: 77
Registered: ‎01-31-2013
My Carrier: 8608800458

Blackberry 10 Dev Alpha Simulator: Screen size in pixels: 864 x 1400 ?????

Programatically the screen size in pixels is showing as 864 x 1400. I thought this was supposed to be 768 x 1280.

 

This is how I'm getting it.

Display display = getWindowManager().getDefaultDisplay(); 

        int width = display.getWidth();  // deprecated

        int height = display.getHeight();  // deprecated

 

By the way the dpi is comming out as 359 which is expected and its considered "large" size and "xhdpi".

 

Oh and on my Mac, even scaled to 100% (ves-zoom 100 command), it is not 864 x 1400 or 768 x 1280, but smaller.

 

Anybody have info on this?

Please use plain text.