Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Developer
bba
Posts: 266
Registered: ‎04-01-2009
My Device: Not Specified

Port AIR App to iOS or Android

Hello,
So I have written a game for the PlayBook using the Adobe AIR and would like to port it over to iOS or Android, does anyone know how to do this? Is it hard?

Thanks for any ideas!
Developer
RottenOgre
Posts: 274
Registered: ‎11-01-2010
My Device: PlayBook?

Re: Port AIR App to iOS or Android

I'm not sure exactly how it works in Flash Builder, but in Flash Pro so long as you aren't using any QNX stuff, it should simply be a matter of changing publish settings to the relevant platform and republishing. Of course you will have to have taken care of resizing and test on the new platforms to make sure that nothing gets broken in the process.

Contributor
FuzzDog
Posts: 32
Registered: ‎03-17-2011
My Device: Playbook

Re: Port AIR App to iOS or Android

Actually, you can even use some QNX components if you import the right swc files. You can't use dialogues or the swipe events and probably other things but you can use things like buttons.

 

In Flash Pro just go File>ActionScript Settings...     go to the 'Library path' tab  then click on the plus button that says 'Add New Path' then click on the flash icon button that says 'Browse to SWC file'   and browse to 'qnx-air.swc' in the SDK. Repeat that proccess to import 'qnx-screen.swc' as well.

 

You can experiment to see what QNX components work and you could try importing other SWCs as well.

__________________________
My Playbook Apps
New Developer
ZanuZawa
Posts: 32
Registered: ‎12-08-2010
My Device: Red Z10

Re: Port AIR App to iOS or Android

You can use command line with Adobe AIR 2.6 SDK to port your AIR app into iOS. And the good news is iOS app generated from AIR 2.6 SDK has good performance especially about the frame rate. It is better than flash packager for iPhone. Here is what I did to port AIR app into iOS platform : http://zawa.blogsome.com/2011/04/18/package-for-ios-device-with-adobe-air-26/

 

 

Developer
Rhino1272
Posts: 47
Registered: ‎04-26-2011
My Device: Curve 2 8530 and PlayBook (soon)

Re: Port AIR App to iOS or Android

@bba:  Adobe is about to release Flash Builder 4.5 which can do just what you are asking.  I think they will have all three (Android, iOS, BlackBerry Tablet OS) available by June.  

 

 

For more information:

 

http://www.adobe.com/products/flash-builder.html

http://labs.adobe.com/technologies/flashbuilder_burrito/

http://tv.adobe.com/watch/adc-presents/whats-new-in-flash-builder-45/

http://devgirl.org/2011/04/11/flash-builder-4-5-mobile-highlights/

 



My Blog: DevGuy.org
My Apps: Dive Planner
1. Please give Kudos by clicking the Kudos star kudos star below the post that helped you..
2. Please resolve your thread by marking the post "Solution?" that solved your issue.