The premise:
I finally was able to install an AIR application on my Android; and here are the results. As a matter of fact, part of the reason I've been studying Flex/AIR with any seriousness is because Adobe (and Google) made the AIR and Flash runtimes available for Android (Nexus One)
The Use Case:
I created a simple plain-vanilla desktop-application with a local SQLite Datastore. The application records a "grocery list" and then you can check-off items as you put them in your cart. Finally you can remove each item from your cart or you can delete the entire list with a single button click.
The lessons learned:
Do
<mx:Application ...>and not
<mx:WindowedApplication...>
I banged my head against the wall figuring this one out.
Oh, and a few more things, checkboxes are real small, so you cannot check them on/off properly on the Nexus One. Buttons and text at their default sizes are obviously small, I would like to find out if I can make AIR apps use pinch-to-zoom in/out? and, if I can use FlexBuilder 3 to do the same thing (I suspect I can, just correct the {myAppName}-app.xml from bin-debug.
Enjoy the images

Installing the Emulator

Installing the Application

Running the app in the Emulator
Supporting Files and Source Code
I will post the source code, the APK and the AIR app itself here. Meanwhile if anyone needs the code....you know where to find me.
[Edit]
So as promised here's the stuff:
4 comments:
This is really helpful.... Thanks a million
This really helped me!!!
http://techcoders.blogspot.com
Jabri...great!! And I am pretty sure that 'Just a techie' like u must have done this in just a few hours... -:)
Post a Comment