AIR ANDROID - app starts up in landscape ok but reverts to portrait after returning from sleep/lock


testing on samsung galaxy  with auto orients false, fullscreen , aspect ratio set landscape work on startup. after device returns sleep app in portrait mode , fills half screen.

 

suggestions on activation ...

stage.setorientation(stageorientation.rotated_right);  or
stage.setaspectratio(stageaspectratio.landscape);

 

try work stall device requiring reboot.

 

i've had turn on auto orientation make app usable pretty hopeless solution.  fullscreen dies.

 

any ideas or has found solution?

 

nick

try

 

stage.setaspectratio(stageaspectratio.any);

 

see reults get.



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

Object Fitting Keyboard Shortcuts Disfuntional

Markers not showing up after opening a saved project. Where did they go!?

After Effects error: (-1610153453)