build mobile apps with air

23
Build Mobile Apps with AIR Chris Black

Upload: chris-black

Post on 11-May-2015

2.785 views

Category:

Technology


2 download

DESCRIPTION

Building cross platform applications for mobile devices has never been easier. The latest version of Adobe AIR has APIs for multi-touch, gestures, geo location and the accelerometer. This technology is available today on many Android devices and will soon be supported by 19 of the top 20 cell phone manufacturers. In this session we'll go over everything you'll need to build, test and deploy high performance mobile applications. The end result will be a file that can be submitted to the Android Marketplace for sale.

TRANSCRIPT

Page 1: Build Mobile Apps with AIR

Build Mobile Apps with AIR

Chris Black

Page 2: Build Mobile Apps with AIR

What is Adobe AIR?

• Adobe Integrated Runtime (AIR), also known as Adobe AIR, is a cross-platform runtime environment developed by Adobe Systems for building rich Internet applications using Adobe Flash, Adobe Flex, HTML, or Ajax, that can be deployed as desktop applications.

–Wikipedia

Page 5: Build Mobile Apps with AIR

AIR for Android

• https://prerelease.adobe.com/• Flash CS5 exports to an APK

file that can be uploaded to the Android Market for sale (more on that later).

• All apps are treated equal.• What if AIR isn’t on my device?

Watch here

Page 6: Build Mobile Apps with AIR

Advantages of Native

• Loads and runs faster• Full API support• Run applications offline• Better user experience than a browser• However… we don’t need an app for

everything

Page 7: Build Mobile Apps with AIR

Building Your App

• Flash Professional CS5– Easy export settings with the Android extension– Export to Android (release) and iOS (beta-ish)

• Flash Builder– Requires more setup– Should be improved support in the near future

Page 8: Build Mobile Apps with AIR

Tips and Tricks

• GPU acceleration• Cache as bitmap matrix• The display list• Manifest XML (sample)

Page 9: Build Mobile Apps with AIR

Flash CS5 Demo

• Let’s build a quick app in Flash CS5!

Page 10: Build Mobile Apps with AIR

Testing Your App

• Device Central– Profiles for various devices– Ability to test before deploying

• Device Debugging– Debug from Flash while running the app on your

device– Find out more here

Page 11: Build Mobile Apps with AIR

Tips and Tricks

• Set your publish settings to Flash Player 10 to test AIR apps in device central

• Device central helps but testing on the device is a must

Page 12: Build Mobile Apps with AIR

Device Central Demo

Page 14: Build Mobile Apps with AIR

Tips and Tricks

• http://pastie.org/1203657

Page 15: Build Mobile Apps with AIR

Methods of Deployment

• Market place• Direct download• No restrictions or control

on download

Page 17: Build Mobile Apps with AIR

AIR for iOS (kindof)

Adobe Packager for CS5 has re-opened development, performance and size need some work

Demo:http://www.unfocus.com/?p=519

Page 18: Build Mobile Apps with AIR

Comparison

• Android – Publish in minutes– Free to develop– Market diversity– Install from any site– Quick device testing– Approval by rating

• Apple– Publish in weeks– $99 / year– One market– Market install only– Slow device testing– Approval by person

Page 19: Build Mobile Apps with AIR

Box2D for Android

• GPU Acceleration• CacheAsBitmapMatrix• 30+ fps on the Nexus One• Video demo on Nexus One

Page 21: Build Mobile Apps with AIR

Who to Follow?

@chrisjblack@leebrimelow@ryanstewart

@scottjanousek

Page 22: Build Mobile Apps with AIR

Questions?

Page 23: Build Mobile Apps with AIR

Source Files

http://as3racer.googlecode.com/svn/trunk/