Download - Mobile Development with Adobe AIR

Transcript
Page 1: Mobile Development with Adobe AIR

Mobile Development with Adobe AIRdustintauer | easelsolutions

Page 2: Mobile Development with Adobe AIR

Dustin TauerEasel Solutions

blog.easelsolutions.com

Page 3: Mobile Development with Adobe AIR

I teach

Page 4: Mobile Development with Adobe AIR

I use

Page 5: Mobile Development with Adobe AIR

The Plan

• Overview of mobile development• What you need to start developing• Compare mobile platforms• Demonstration• Building and distributing an Android application

• Q&A

Page 6: Mobile Development with Adobe AIR

Adobe AIR

• Desktop application• Requires the free AIR Runtime• Build once, Publish many

• File.desktopDirectory;• CameraRoll.browseForImage();

Page 7: Mobile Development with Adobe AIR

Developing with Adobe AIR

• Eliminates the need to learn multiple programming languages• iOS -> XCODE• Android -> Java• Windows -> Silverlight• Blackberry -> Java

• Develop in Flash, export to your desired platform• iOS -> IPA file• Android -> APK file• Blackberry -> BAR/COD file

Page 8: Mobile Development with Adobe AIR

Developing with Adobe AIR

• With most programs, you’re exporting an AIR application• AIR app is “wrapped” with a native installer (i.e. APK file)• Application is installed

• If user doesn’t have AIR, they will be prompt to download

• AIR app is then installed

• iOS is the only exception• App is converted to a NATIVE iOS application because

iOS does not support Adobe AIR

Page 9: Mobile Development with Adobe AIR

What do I need?

• Idea• Skillz• Development tool• Join developer program(s)

Page 10: Mobile Development with Adobe AIR

Tools

• Flash CS5• Currently allows you to export iOS application• Install an extension to export Android applications

• http://labs.adobe.com• More platforms coming…

• Flash Builder (Burrito)• Download it from labs.adobe.com• Build Flex/ActionScript mobile applications

• “Hero” is the Flex mobile framework• Currently exports Android apps• Install Blackberry SDK to publish for Playbook

Page 11: Mobile Development with Adobe AIR

Flash vs Flex

• Flash Application• Use Flash CS5

• Simpler for non-developers• Flash Builder (Mobile ActionScript Project)• Better performance

• Games• Highly animated applications

• Flex (Hero)• Flash Builder (Burrito)• Create a “Flex Mobile Project”

• Light-weight version of the Flex framework• Rapidly develop mobile “applications”

Page 12: Mobile Development with Adobe AIR

Developer Programs

• iOS• Blackberry• Android

Page 13: Mobile Development with Adobe AIR

iOS

• developer.apple.com• $99/year• You get 70% of sales revenue

• Export IPA file from Flash to submit to the App Store• Apple must approve application (1-2 weeks)

• You need to sign up before developing!

Page 14: Mobile Development with Adobe AIR

RIM

• blackberry.com/developers• Blackberry Playbook tablet is the only device you can

develop for with Flash/Flash Builder• $200 for 10 applications

• Currently free! Sign up now!• Get an app approved by March 15th and win a free

Playbook!• You get 80% of sales revenue

• Approval process 6-8 days

Page 15: Mobile Development with Adobe AIR

Android

• market.android.com (click developer link at bottom)• Free to develop applications

• One-time $25 fee if you want to submit to marketplace• You get 70% of sales revenue

• Approval process 1-3 minutes!

Page 16: Mobile Development with Adobe AIR

Let’s see it in action!

• Building an Android application with Flash CS5• Sneak peak at Flash Builder Burrito

Page 17: Mobile Development with Adobe AIR

Resources

• blog.easelsolutions.com• videos!

• gotoAndLearn.com

• Developer programs• developer.apple.com• blackberry.com/developers• market.android.com

• Adobe Developer Center• adobe.com/devnet/devices