Flex Air for Android screen orientation

If you want to prevent your Flex AIR mobile Android app from going to landscape orientation, it’s quite easily achieved, if you know what to do (thanks Renaun Erickson).

All you need to do, is modify your application descriptor XML to the following tags:

<autoOrients>false</autoOrients>
<aspectRatio>portrait</aspectRatio>
Advertisements

2 Responses to Flex Air for Android screen orientation

  1. Juan Mendez says:

    great tip thanks šŸ™‚

  2. Aidan Mack says:

    ahh spot on! been looking for this!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: