Multi-screen Development with Adobe AIR
Dustin Tauerdustin@easelsolutions.com@dtauer
I Teach
I Use
Brief overview of mobile development with Adobe AIRCompare mobile platformsiOS, RIM, AndroidDeveloping a multi-screen mobile applicationFlash Builder 4.5Developing | Debugging | DistributingQ&A
Device Landscape
Adobe AIRDesktop applicationRequires the free AIR RuntimeBuild once, Publish manyFile.desktopDirectory;CameraRoll.browseForImage();
Adobe AIREliminates the need to learn multiple programming languagesiOS -> Objective CAndroid -> JavaWindows -> SilverlightBlackberry -> JavaDevelop in Flash, export to your desired platformiOS -> IPA fileAndroid -> APK fileBlackberry -> BAR/COD file
Adobe AIRWith most platforms, you’re exporting an AIR applicationAIR app is “wrapped” with a native installer (i.e. APK file)Application is installedIf user doesn’t have AIR, they will be prompt to downloadAIR app is then installediOS is the only exceptionApp is converted to a NATIVEiOS application because iOS does not support Adobe AIR
What do I need to get started?
ToolFlash CS5.5Export Android, iOS, and BlackBerry Tablet applicationsMore platforms coming…Flash Builder 4.5Build Flex/ActionScript mobile applicationsFlex 4.5 SDK contains mobile optimized-componentsCurrently supports Android appsiOS and BlackBerry Tablet OS coming in June updateUnsupported BlackBerry workaroundhttp://blogs.adobe.com/jasonsj/2011/05/flex45_air25_playbook.htmlYou need to create a development account for BlackBerry and iOS
Create a new Flex Mobile ProjectDesign View is Mobile-Optimized
Demo: Creating a Flex Mobile Application
Detecting Device Capabilities
Device CapabilitiesMultitouchAccelerometerOrentationMicrophoneKeyboardGPSCamera
Check for support
GPS
Orientation
Demo: Using the Camera
Multi-touch: You CAN touch this
Raw touch pointsGestures
Optimization
Optimization ConsiderationsConsider bitmaps over vectors Keep bitmaps as small as possibleWhen in doubt, use ActionScriptMXML can be more costly
Event propagation
Frame Rate and Memory Managementhttps://github.com/mrdoob/Hi-ReS-Stats
Developer Programs
$99/yearYou get 70% of sales revenueBlackberry  Tablet OS$200 for 10 applications, you get 80% of sales revenueFree to develop applicationsOne-time $25 fee if you want to submit to marketplaceYou get 70% of sales revenue
Q & A | Evaluation* Turn in your paper conference evaluations at the registration deskhttp://goo.gl/T1P0hThank you!blog.easelsolutions.comadobe.com/devnet/mobileadobe.com/devnet/flashbuilder

Multiscreen Development with Adobe Air