Skip to main content
Known Participant
October 11, 2011
Answered

Air for Android checklist

  • October 11, 2011
  • 4 replies
  • 970 views

Hi, I started with Air to iOS, and now I'm porting to Android. I have a few questions about best practices if anyone has any experience?

1a) Screen Ratio: My Flash document size is 1024x768, with content running to 1200px. Will this ratio be OK for android? Does it stretch to fit?

b) I'm interested in porting to the Kindle Flame and Bberry Playbook, which are 1024x600, so is this a better ratio do you think?  (then I only need to port to this one size)

2) Resolution: My apps use mostly vector content, but on some backgrounds I turn them to Bitmaps at 1200x768 at 72dpi.  Will this DPI be ok for all Android devices (since the imge is so large?

3) I will probably lock the aspect to 'Landscape' only. Does anyone know if the rotation code on these forums works on Android like it does on ios?

4) Do we need an Exit app button. If so, any code for this?

5) Any other code, or issues needed for Android?

Thanks,

Matt

This topic has been closed for replies.
Correct answer Colin Holgate

You asked too many questions! Here are some thoughts...

Making the graphics be wide enough for Playbook makes sense. Just make sure that important items will be within the view that an iPad has, and also don't change the stage scaling or alignment, leave it with the default settings. I think that means your backgrounds would nee to be 1311x768.

Regardless of the DPI of devices, your images would be 72 dpi.

The rotation code will work the same if you target Android 2.3 or later. Android 2.2 didn't have OrientationChanging.

Don't think you need an Exit button.

4 replies

monkey500Author
Known Participant
October 11, 2011

No one? The screen ratio is the most important, so I can get started.. thanks

Colin Holgate
Colin HolgateCorrect answer
Inspiring
October 11, 2011

You asked too many questions! Here are some thoughts...

Making the graphics be wide enough for Playbook makes sense. Just make sure that important items will be within the view that an iPad has, and also don't change the stage scaling or alignment, leave it with the default settings. I think that means your backgrounds would nee to be 1311x768.

Regardless of the DPI of devices, your images would be 72 dpi.

The rotation code will work the same if you target Android 2.3 or later. Android 2.2 didn't have OrientationChanging.

Don't think you need an Exit button.

monkey500Author
Known Participant
October 11, 2011

Thanks Colin,

1311 is a funny number! I may just mask off my images at 1200, or it means re-doing the bitmaps..