Developing flex apps for android

7,242 views

Published on

An introduction to creating Android applications using Adobe Flex and AIR

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,242
On SlideShare
0
From Embeds
0
Number of Embeds
2,072
Actions
Shares
0
Downloads
60
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Developing flex apps for android

  1. 1. Developing Flex Apps For Android For Android A brief introduction ... I hope
  2. 2. Developing Flex Apps for Android Background • 10 + years Actionscript developer • Worked with Flex since v1.5 • Independent contractor/consultant • Developing for Android since April ... grey beard ;)
  3. 3. Developing Flex Apps for Android Considerations • Screen Size • User Interactions • Device Capabilities • Optimization
  4. 4. Developing Flex Apps for Android Screen Size • Size matters • Follow best practices • Rule of thumb - 3x • Smaller and denser
  5. 5. Developing Flex Apps for Android Remember fat fingers http://www.youtube.com/watch?v=8DtbPOXFk00
  6. 6. Developing Flex Apps for Android The Amazing Shrinking Screen On Computer On Device
  7. 7. Developing Flex Apps for Android Leverage expertise
  8. 8. Developing Flex Apps for Android Demo DemoComponents App
  9. 9. Developing Flex Apps for Android User Interactions • How do they interact • Where are they interacting • How long do they interact • Who is interacting • Brevity is key
  10. 10. Developing Flex Apps for Android How do they really use it? http://www.youtube.com/watch?v=EHlN21ebeak
  11. 11. Developing Flex Apps for Android Device Capabilities • Touch • Accelerometer • Orientation • Microphone • GPS • Camera • Keyboard • Voice recognition
  12. 12. Developing Flex Apps for Android Device Capabilities Demo Capability Apps
  13. 13. Developing Flex Apps for Android Optimization • Tweens • Filters • Scaling graphics • Transitions • Drawing API • JPEG/PNG "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil" Donald Knuth
  14. 14. Developing Flex Apps for Android Flex Hero “Slider” was originally planned to be a separate version of the Flex framework that would contain mobile-specific functionality. However, due to the evolution of the mobile device landscape, as well as significant performance improvements in the latest releases of the Adobe® Flash® Player and Adobe® AIR® runtimes, it is now feasible to integrate these mobile development features directly into the core Flex framework.As a result, the mobile features that were originally planned for the separate “Slider” framework will now
  15. 15. Developing Flex Apps for Android The ToolsYou Need • Android SDK • Your favourite Flex IDE • Some ANT knowledge • An Android 2.2 phone • An imagination
  16. 16. Developing Flex Apps for Android Android SDK Goodies • Debugging (tools/adb logcat) • Screen Capture (tools/ddms) • Emulator (it’s slowww)
  17. 17. Developing Flex Apps for Android Hello World • Create new Flex project • Embed in code (no RSLs) • Extend s:Application (not WindowedApplication) • Application descriptor and manifest • Install to device via ANT
  18. 18. Developing Flex Apps for Android Debugging • Debugging between device and computer • Use Flash command line debugging tools (fdb) • Must be on same wifi network • Compile with Debug=TRUE • Add Internet option to Android Manifest
  19. 19. Developing Flex Apps for Android Resources • http://developer.android.com/sdk/index.html • http://www.teehanlax.com/blog/2010/02/01/ipad-gui-p • http://www.teehanlax.com/blog/2009/06/18/iphone-gu • http://developer.android.com/guide/practices/ui_guide
  20. 20. Developing Flex Apps for Android Adobe Resources • http://opensource.adobe.com/wiki/display/flexsdk/He • http://opensource.adobe.com/wiki/display/flexsdk/Mo • http://labs.adobe.com/technologies/air2/android/ • http://www.openscreenproject.org/
  21. 21. Developing Flex Apps for Android Contact Info • www.dgrigg.com • twitter.com/derrickgrigg • derrick@dgrigg.com

×