Tips for iOS AIR Development

With the update to iOS development with AIR 2.6 developers can now package iOS applications with the same tool, called adt, that is used for desktop AIR applications. The main difference with the iOS target is that some cross compilation is happening along with the packaging. This does take some time, but another part of the iOS development time suck is getting the packaged .ipa on the device. If you are finding yourself deleting/removing your...

Read More

Using BlackBerry ID in your PlayBook Application

The latest release of the PlayBook’s BlackBerry Tablet OS SDK for AIR provides some new APIs. One of the newer BlackBerry APIs is around getting BlackBerry ID information. You can test the API calls that integrate the PlayBook user’s BlackBerry ID information in your application. This is what it looks like for a user to sign into their BlackBerry ID from the PlayBook simulator (this is a system dialog and developers can’t...

Read More

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

PlayBook QNXApplication SWIPE_DOWN in a multi platform SWF

A question came up from a developer that was creating a Flex Hero (the 4+ Flex SDK geared towards mobile) mobile application about tapping into the PlayBook’s bezel swipe down event, but also be able to use the SWF on other platforms. PlayBook is a great platform that QNX, a subsidary of RIM, has created PlayBook specific AIR apis and classes. One of the PlayBook specific API’s is the ability to tap into the bezel event when the...

Read More

AIR 2.6 Capabilities.screenDPI on Devices

I had previously posted on the subtleties of screen PPI on devices here. Since then the AIR runtime is making changes to help where the OS provides the wrong PPI. Its not perfect but its a work in progress, which means if you have devices and wrong PPI’s please let us know.Device Capabilities.screenDPI Capabilities.serverString’s &DP Actual PPIAndroid Nexus 1 (OS 2.3.3) 254 254 254Droid Incredible 254 254 254Droid...

Read More