Skip to main content
Participant
September 5, 2012
Question

Lose landscape orientation after standby on Android

  • September 5, 2012
  • 2 replies
  • 659 views

Hi - I am having the  same problem as described in this unanswered thread from long ago:

     http://forums.adobe.com/thread/972621?start=0&tstart=0

Specifically, although I have set every option available to keep my Adobe AIR application in landscape mode, if the phone goes to standby and then I wake it up, my application has switched to portrait orientation.  I have added the following to the application descriptor:

<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
<fullScreen>true</fullScreen>

I don't know what else I need to do to keep my application in landscape mode ALL THE TIME... any help would be very much appreciated!

Thanks

Greg


This topic has been closed for replies.

2 replies

Adobe Employee
September 5, 2012

http://blogs.adobe.com/airodynamics/2012/05/22/stage-aspectratio-enhancements/ will help you with the enhancements made in 3.3 onwards.

Just moving on to the new sdk will always keep your app in landscape(expecting you dont change the aspect ratio in application descriptor). Also dont forget to compile the swf with version greater than or equal to 16.

Colin Holgate
Inspiring
September 5, 2012

Some of these issues were fixed in AIR 3.3, and more in AIR 3.4. Which version of AIR are you using?

Participant
September 5, 2012

I am using 3.2. Not sure if moving to 3.3 is an option, but I will research tomorrow. Thank you for your reply. Do you have any pointers to where adobe listed the relevant bug fixes and which versions of AIR contain them?

// g //

(Sent from my phone)

Colin Holgate
Inspiring
September 5, 2012

I wouldn't bother going to 3.3, just go straight to 3.4.

Here are the things fixed in 3.4:

http://helpx.adobe.com/flash-player/release-note/fp_114_air_34_release_notes.html

I can't find one that shows fixes for 3.3.