17
Title Subtitle Adobe Air for mobile, is it really easy? An introduction by Jürgen Coetsiers & Tom Janssens

Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Embed Size (px)

Citation preview

Page 1: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

TitleSubtitleAdobe Air for mobile, is it really easy?

An introduction

by Jürgen Coetsiers & Tom Janssens

Page 2: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

TCS DIGITAL WORLD

Formerly know as the creative storesWe build ideas into the digital world to enable your brand to be connected with real people in the real world

Page 3: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Who are we

• Jürgen Coetsiers– CTO– Software Architect

• Tom Janssens– Architect– Senior Analyst

Developer

Page 4: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

WE HAVE NO FLASH BACKGROUND

Page 5: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

The Brief

• Touchscreen app where the shopper can consult information about the beer category:– Find the right beer brand that fits with my

taste preference.– Which beer do I need to buy that fits with a

particular ingredient (fish-chicken-aperitif-...)? – Which recipe can I make that fits with a

particular beer?

• print recipes

Page 6: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

We delivered

• Available in every Delhaize near you (2011 roll out)

• Based on Adobe Air runtime• Developed in Adobe Flash CS5

Page 7: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

LET’S THINK

Page 8: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

It’s touch based

It’s flash

It is multi-platform

Page 9: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011
Page 10: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

HOW DID WE DO IT?

Page 11: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Getting Started – Required Software

• Flash Professional CS5

• Adobe Flash Professional CS 5 Extension for AIR 2.5• http://labs.adobe.com/technologies/flashpro_extensionforair/

• Android SDK• http://developer.android.com/sdk/index.html

Page 12: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Getting Started – Device Installation

• Install AIR on the Android device

• Open a Terminal window

• Connect your device (or start emulator)

• Run ‘adb install Runtime.apk’

Page 13: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Setting Project Properties (Live)

• Summary / Pitfalls

• Player = AIR Android

• Profile = Mobile

• Output filename extension = .APK

Page 14: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Handling different screen resolutions

• In code resizing+Fast / Easy to code+Single App

– Resize artifacts– Not Suitable for all screen

layouts

Page 15: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Handling different screen resolutions

• Multiple projects• Redesign UI• Shared AS3 code

+Fast / Easy to code+No Resize Artifacts

- Different app / platform

Page 16: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Other lessons learnt

• File.applicationStorageDirectory • is case-sensitive in Android Air

• Debugging• use ‘adb logcat’

• Performance• Expect PC performance of 7 years ago• http://goo.gl/YamkJ

Page 17: Adobe Air for mobile, is it really easy? - Jürgen Coetsiers & Tom Janssens, TCS Digital World - droidcon.be 2011

Thank you

Thank you