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

New Contributor
Posts: 5
Registered: ‎02-03-2012
My Device: BlackBerry Playbook
My Carrier: T-Mobile

Display.getHeight() reporting wrong height

On a PlayBook simulator this code returns 768:


    Display display = getWindowManager().getDefaultDisplay();
    return display.getHeight();


Why is that as the screen clearly has 600px??