Copy link to clipboard
Copied
Does anyone here have experience porting their Adobe Air Android apps to the iPhone? or vice versa?
What kind of differences you see or what kind of issues you had to face or any tips to give to others?
i will begin by sharing my experience...
Copy link to clipboard
Copied
I have a pretty simple Android App up on the Android Market:
http://www.androidzoom.com/android_applications/adult/anthony-h-photography_ybrj.html
It's a slideshow of photographs and allows the user to swipe the photos left/right to see the photos.
* it also allows the user to save the photos directly to their devices.
* there is multi-touch capabilities for zoom in/out the photos.
* and direct links to youtube videos
* capability to send email to me.
So, with Adobe Flash Pro, i used the exact .fla files to build the iphone's equivalent .ipa file. After installing my .ipa file into my iPad device here is what I saw:
Good news is, I'm able to do the same functionalities as in my android device. (ie swip the photos, multitouch zoom in/out, view youtube clips, email).
Bad news is, there is an obvious difference in screen resolution. as you can see in my screen shot below of my Android device and iPad device side-by-side.
http://www.freeimagehosting.net/uploads/d9dad2af4c.jpg
So, because the iphone's resolution is just 320X480 (compared with Android's 480x800) the words and text appear blurred. But if you also noticed, the screen ratio between iPhone and Android's is not the same. so the iPhone has extra width (more space horizontally).
Does anyone have a way to deal with these different screen resolutions?
Copy link to clipboard
Copied
Which version of Flash are you using?
Copy link to clipboard
Copied
I am using Flash Pro CS 5.0.
I hope to port to iPad someday soon. But my guess is, i'm going to have to redo my graphics to make it look good in a bigger screen.
Copy link to clipboard
Copied
You need to author your application for multiple screens and resolutions, keeping the screen resolution and DPI in mind. http://www.adobe.com/devnet/flash/articles/authoring_for_multiple_screen_sizes.html and http://www.adobe.com/devnet/air/flex/articles/writing_multiscreen_air_apps.html discuss some of the techniques you can use to layout your application on different devices correctly.
Hope it helps.
-Sanika