Air on Android
-
Upload
karel-cardinaels -
Category
Technology
-
view
976 -
download
9
Transcript of Air on Android
![Page 1: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/1.jpg)
AIR runtime for Mobile
KAREL CARDINAELSDIETLEV MAERTENS
![Page 2: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/2.jpg)
AIR runtime for Mobile
AIR RUNTIME
Environment
rich media applications across platforms
desktop and mobile applications
uses Actionscript 3.0
![Page 3: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/3.jpg)
AIR runtime for Mobile
AIR RUNTIME
AIR 2.5
multi-touch
gestures (swipe, zoom,...)
Advanced networking capabilities sockets & UDP support
![Page 4: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/4.jpg)
AIR runtime for Mobile
ANDROID
WHAT?
Operating system for mobile devices
JAVA language
Open Source
![Page 5: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/5.jpg)
AIR runtime for Mobile
ANDROIDAIR ON AIR ON
IPHONE OSVS
Runtime not included Runtime included
APK file IPA file
No developer certificate Developer certificate
screen sizes and capabilities differ more on androidphones (>100 phones)
![Page 6: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/6.jpg)
AIR runtime for Mobile
HELLO WORLD
WHAT DO WE NEED?
AIR SDK FDT (for coding)Flash CS5 + Android extensionAndroid Device 2.2 with Air runtime
![Page 7: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/7.jpg)
AIR runtime for Mobile
TIPS & TRICKS
CHECK DEVICE CAPABILITIES
Multitouch.supportsGestureEventsMultitouch.supportsTouchEventMultitouch.maxTouchPointsMultitouch.supportedGestures
![Page 8: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/8.jpg)
AIR runtime for Mobile
TIPS & TRICKS
GESTURESSWIPEZOOMPANROTATE
![Page 9: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/9.jpg)
AIR runtime for Mobile
TIPS & TRICKS
TOUCHEVENTS
TOUCH_BEGINTOUCH_ENDTOUCH_MOVETOUCH_TAPTOUCH_OUT....
![Page 10: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/10.jpg)
AIR runtime for Mobile
ACCELEROMETER & GEOLOCATION
ACCELEROMETER
GEOLOCATION
X, Y & Z acceloration can be retrieved
latitude, longtitude, speed, altitude, heading, timestamp,....
![Page 11: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/11.jpg)
AIR runtime for Mobile
BEST PRACTICES
Device fonts render faster than embedded fonts
Use cacheAsBitmap or BitmapData.draw() on vectors
Hide things that aren’t used - visible = false
Optimize your graphics before you use them
Reuse your code from other projects, but don’t just port a flash project to mobile
![Page 12: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/12.jpg)
AIR runtime for Mobile
DEMO TIME
![Page 13: Air on Android](https://reader030.fdocuments.net/reader030/viewer/2022020122/5564d946d8b42a0a178b55c9/html5/thumbnails/13.jpg)
THANKS FOR YOUR ATTENTION
AIR runtime for Mobile
KAREL CARDINAELSDIETLEV MAERTENS