Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Android Flash Development<br />An Introduction to Flash and AIR Development on Android<br />Oswald Campesato<br />Twitter:...
About the Presenters<br />Stephen<br />Chin<br />Oswald<br />Campesato<br />+<br />=<br />?<br />
DISCLAIMERBleeding Edge Development<br />WE ARE NOT AFFILIATED WITH ADOBE CORPORATION AND DO NOT REPRESENT THEIR OFFICIAL ...
Flash and AIR on Android<br /><ul><li>Available on Android Phones Today
Works in the Browser
Limited Access to Device APIs</li></ul>Adobe Flash<br /><ul><li>In Pre-release Today
Deploys as an Android Market Application
Gives Full Access to Device APIs</li></ul>Adobe AIR<br />Update: Now Available in the Android Market!<br />
Flash Tooling<br />
Flash Professional CS5<br />
Flash Capability Reporter<br />import flash.system.Capabilities;<br />import flash.ui.Multitouch;<br /> <br />capabilitySc...
Flash Professional CS5<br />
Flash Capability Reporter<br />
Android Devices<br />
Device Screen Characteristics<br />
Screen Resolution vs. Density<br />
Flash/AIR Mobile APIs<br />Screen Orientation *<br />Multitouch *<br />Gestures<br />Accelerometer<br />Camera<br />GPS<br...
Screen Orientation<br />Stage Event Listener<br />stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE,    <fun...
Screen Orientation Example<br />import flash.display.StageOrientation;<br />import flash.events.StageOrientationEvent;<br ...
Portrait/Landscape Switching<br />
Portrait/Landscape Switching<br />
Mulititouch<br />Gestures<br />Two Finger Tap<br />Press and Tap<br />Pan<br />Rotate<br />Swipe<br />Zoom<br />Illustrati...
Android Scrapbook Example<br />package com.proandroidflash {<br />	import flash.events.TransformGestureEvent;<br />	import...
Android Scrapbook Example<br /><?xml version="1.0" encoding="utf-8"?><br /><s:Application xmlns:fx="http://ns.adobe.com/mx...
Android Scrapbook Example<br />
AIR APIs not on Mobile (1 of 2)<br />
AIR APIs not on Mobile (2 of 2)<br />
Flex Mobile - Hero<br />Coming 2011<br /><ul><li>MobileApplication
Views
Upcoming SlideShare
Loading in …5
×

Android Flash Development

12,171 views

Published on

Android Flash Development presentation given at Silicon Valley Code Camp 2010.

Published in: Technology
  • Finally found a service provider which actually supplies an essay with an engaging introduction leading to the main body of the exposition Here is the site ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download Full EPUB Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download Full doc Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download PDF EBOOK here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download EPUB Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download doc Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Don't forget another good way of simplifying your writing is using external resources (such as ⇒ www.HelpWriting.net ⇐ ). This will definitely make your life more easier
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Get the best essay, research papers or dissertations. from ⇒ www.HelpWriting.net ⇐ A team of professional authors with huge experience will give u a result that will overcome your expectations.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Android Flash Development

  1. 1. Android Flash Development<br />An Introduction to Flash and AIR Development on Android<br />Oswald Campesato<br />Twitter: @ocampesato<br />http://book2-web.com/<br />Stephen Chin<br />Twitter: @steveonjava<br />http://steveonjava.com/<br />
  2. 2. About the Presenters<br />Stephen<br />Chin<br />Oswald<br />Campesato<br />+<br />=<br />?<br />
  3. 3. DISCLAIMERBleeding Edge Development<br />WE ARE NOT AFFILIATED WITH ADOBE CORPORATION AND DO NOT REPRESENT THEIR OFFICIAL PRODUCT STATEMENTS. THE TECHNOLOGIES REPRESENTED WITHIN ARE NOT FINAL AND MAY BE SUBJECT TO CHANGE. WE ARE NOT RESPONSIBLE FOR OUTBREAKS OF SPONTANEOUS ANDROID FLASH HACKING.<br />HACK RESPONSIBLY!<br />
  4. 4. Flash and AIR on Android<br /><ul><li>Available on Android Phones Today
  5. 5. Works in the Browser
  6. 6. Limited Access to Device APIs</li></ul>Adobe Flash<br /><ul><li>In Pre-release Today
  7. 7. Deploys as an Android Market Application
  8. 8. Gives Full Access to Device APIs</li></ul>Adobe AIR<br />Update: Now Available in the Android Market!<br />
  9. 9. Flash Tooling<br />
  10. 10. Flash Professional CS5<br />
  11. 11. Flash Capability Reporter<br />import flash.system.Capabilities;<br />import flash.ui.Multitouch;<br /> <br />capabilityScroller.capabilities.text =<br /> "Manufacturer: " + Capabilities.manufacturer + " " +<br /> "OS: " + Capabilities.os + " " +<br /> "Pixel Aspect Ratio: " + Capabilities.pixelAspectRatio + " " +<br /> "Player Type: " + Capabilities.playerType + " " +<br /> "Screen Color: " + Capabilities.screenColor + " " +<br /> "Screen DPI: " + Capabilities.screenDPI + " " +<br /> "Screen Resolution: " + Capabilities.screenResolutionX + "x" + Capabilities.screenResolutionY + " " +<br /> "Touch Screen Type: " + Capabilities.touchscreenType + " " +<br /> "Version: " + Capabilities.version + " " +<br /> "Supports Gesture Events: " + Multitouch.supportsGestureEvents + " " +<br /> "Supports Touch Events: " + Multitouch.supportsTouchEvents + " " +<br /> "Input Mode: " + Multitouch.inputMode + " " +<br /> "Max Touch Points: " + Multitouch.maxTouchPoints + " " +<br /> "Supported Gestures: " + Multitouch.supportedGestures;<br />
  12. 12. Flash Professional CS5<br />
  13. 13. Flash Capability Reporter<br />
  14. 14. Android Devices<br />
  15. 15. Device Screen Characteristics<br />
  16. 16. Screen Resolution vs. Density<br />
  17. 17. Flash/AIR Mobile APIs<br />Screen Orientation *<br />Multitouch *<br />Gestures<br />Accelerometer<br />Camera<br />GPS<br />* APIs we will show examples of today<br />
  18. 18. Screen Orientation<br />Stage Event Listener<br />stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, <function callback>);<br />StageOrientation Values<br />DEFAULT<br />ROTATED_LEFT<br />ROTATED_RIGHT<br />UPSIDE_DOWN<br />UNKNOWN<br />
  19. 19. Screen Orientation Example<br />import flash.display.StageOrientation;<br />import flash.events.StageOrientationEvent;<br />stop();<br />stage.addEventListener(<br />StageOrientationEvent.ORIENTATION_CHANGE, onChanged);<br />function onChanged(event:StageOrientationEvent):void {<br /> play();<br />}<br />
  20. 20. Portrait/Landscape Switching<br />
  21. 21. Portrait/Landscape Switching<br />
  22. 22. Mulititouch<br />Gestures<br />Two Finger Tap<br />Press and Tap<br />Pan<br />Rotate<br />Swipe<br />Zoom<br />Illustrations provided by Gestureworks (www.gestureworks.com)<br />
  23. 23. Android Scrapbook Example<br />package com.proandroidflash {<br /> import flash.events.TransformGestureEvent;<br /> import flash.ui.Multitouch;<br /> import flash.ui.MultitouchInputMode;<br /> import mx.controls.Image;<br /> public class MultiTouchImage extends Image {<br /> public function MultiTouchImage() {<br />addEventListener(TransformGestureEvent.GESTURE_ROTATE, rotateListener);<br />addEventListener(TransformGestureEvent.GESTURE_ZOOM, zoomListener);<br />Multitouch.inputMode = MultitouchInputMode.GESTURE;<br /> }<br /> public function rotateListener(e:TransformGestureEvent):void {<br /> rotation += e.rotation;<br /> }<br /> public function zoomListener(e:TransformGestureEvent):void {<br />scaleX *= e.scaleX;<br />scaleY *= e.scaleY;<br /> }<br /> }<br />}<br />
  24. 24. Android Scrapbook Example<br /><?xml version="1.0" encoding="utf-8"?><br /><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" <br />xmlns:s="library://ns.adobe.com/flex/spark" <br />xmlns:mx="library://ns.adobe.com/flex/mx“<br />xmlns:proandroidflash="com.proandroidflash.*"<br />backgroundColor="#333333"><br /> <s:layout><br /> <s:VerticalLayout horizontalAlign="center" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"/><br /> </s:layout><br /> <fx:Declarations><br /> <fx:Array id="images"><br /> <fx:Object><br /> [@Embed(source='images/cassandra1.jpg')]<br /> </fx:Object><br /> </fx:Array><br /> </fx:Declarations><br /> <s:Label text="Android Scrapbook" fontSize="32" color="white"/><br /> <s:Label text="Drag, Rotate, and Zoom with your fingers." fontSize="14" color="#aaaaaa"/><br /> <s:BorderContainer backgroundColor="#cccccc" borderColor="#555555" rotation="5" width="110%" height="110%"><br /> <s:filters><br /> <s:DropShadowFilter alpha="0.5"/><br /> </s:filters><br /> <proandroidflash:MultiTouchImage source="@Embed(source='images/cassandra1.jpg')" y="20" x="10" width="350" rotation="-3"/><br /> <proandroidflash:MultiTouchImage source="@Embed(source='images/cassandra2.jpg')" y="200" x="40" width="350" rotation="13"/><br /> <proandroidflash:MultiTouchImage source="@Embed(source='images/cassandra3.jpg')" y="460" x="5" width="350" rotation="-8"/><br /> </s:BorderContainer><br /></s:Application><br />
  25. 25. Android Scrapbook Example<br />
  26. 26. AIR APIs not on Mobile (1 of 2)<br />
  27. 27. AIR APIs not on Mobile (2 of 2)<br />
  28. 28. Flex Mobile - Hero<br />Coming 2011<br /><ul><li>MobileApplication
  29. 29. Views
  30. 30. ViewNavigator
  31. 31. Splash Screen
  32. 32. Components:
  33. 33. ActionBar
  34. 34. Text Components
  35. 35. List, Scroller, and Touch Gestures</li></ul>For more info see: http://opensource.adobe.com/wiki/display/flexsdk/Hero<br />
  36. 36. Future Device Support<br />Android Tablets<br />iPhone/iPad<br />Television<br />
  37. 37. SDK Links<br />Android SDK (2.2 or later)<br />http://developer.android.com/sdk/index.html<br />AIR Prerelease<br />http://labs.adobe.com/technologies/air2/android/<br />Flex Mobile (Hero)<br />http://opensource.adobe.com/wiki/display/flexsdk/Hero<br />
  38. 38. Blogs to Read<br />James Ward<br />http://www.jamesward.com/<br />Christian Cantrell<br />http://blogs.adobe.com/cantrell/<br />Christophe Coenraets<br />http://coenraets.org/blog/<br />Serge Jespers<br />http://www.webkitchen.be/<br />Lee Brimelow (The Flash Blog)<br />http://blog.theflashblog.com/<br />Mark Doherty (FlashMobileBlog)<br />http://www.flashmobileblog.com/<br />
  39. 39. Local Meetups<br />San Flashcisco<br />BAADUG<br />SilvaFUG<br />SilvaFUG presents Flash On…<br />Flash Gaming on Android<br />Stephen Chin and James Young<br />November 9th (SF) and 11th (SJ)<br />
  40. 40. Pro Android Flash<br />Stephen Chin, Oswald Campesato, and Dean Iverson<br />Will Include:<br /><ul><li>UI Controls
  41. 41. Media Support
  42. 42. Mobile Flex APIs
  43. 43. Android Market Deployment
  44. 44. Extensive Examples</li></ul>Coming in April 2011<br />

×