Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

How to obtain Android screen real width/height in AIR?

$
0
0

The system chrome displays some additiona bar with three dots. No matter what I use, AIR always reports the actual height incorrectly - it's not the height of the screen, but the height of available area (so the screen height - system bar height). This turns device detection into a mess. Is there a solution for this?

 

Tried:

Capabilities.screenResolutionY

stage.height

state.stageHeight

stage.fullScreenHeight

 

they all return the same value.

 

Or, is there a way to get rid of that system bar and enter true fullscreen?


Viewing all articles
Browse latest Browse all 2010

Trending Articles