Using MacBook Pro for AIR/Flash P2P local multicast demos

I show a lot of demos on mobile devices. One of the best ways I have been able to demo applications at conferences with out having great wifi or device overhead projectors is to use a local network from my MacBook Pro. I use this for my P2P local multicast demos like PickQuick as well as other laptop to mobile interactions. Here are the steps I use to make this work:Unplug laptop from any wired networks. Open up System Preferences -> Sharing...

Read More

Developing for both retina and non-retina iOS screens using AIR 2.6

AIR 2.6 provides updates to the old Packager for iPhone (PFI). The packager binary is now part of the normal AIR packaged called adt. The new adt options are just like the old pfi packager options, see below:adt -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc ) CONNECT_OPTIONS? SIGNING_OPTIONS <output-package> ( FILE_OPTIONS | <input-package> )Screen Resolution and Pixels Per Inch (ppi) When developing you...

Read More

Closing AIR for Android Applications

With the different devices out there that do allow for full multitasking by default for all applications it produces a need to be able to programmatically exit applications. The use case I have is I build Flex or ActionScript only applications that get packaged up for devices, usually these are testing applications where I want to have them run for a set time and display some stats. I don’t want to have to force kill the application on the...

Read More

AIR for Android trace() with logcat

In my previous post I talked about how to use Flash Builder 4 to debug an AIR application running on an Android device. In this post I will show a poor man’s way of getting trace statements. You have to build the application with debug mode and apk-debug target packaging. Then before you run the application on the your device, connected the device to your desktop with USB debugging turned on. With that all setup run this command:>...

Read More