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.

Flash Platform for Devices

  • Login to see the comments

Flash Platform for Devices

  1. 1. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. SERGE JESPERS SR. PLATFORM EVANGELIST serge@adobe.com http://www.webkitchen.be @sjespers The Flash Platform on devices
  2. 2. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web content & applications Standalone applications (Inside the browser) (Outside the browser) Areas of Focus
  3. 3. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  4. 4. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  5. 5. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Fastest path to great experiences everywhere
  6. 6. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Flash Player 10.1 - Update § Delivered: June 2010 § Available: at Adobe.com and the Android Market § The only consistent browser-based runtime for connected devices § Targeting desktops, mobile phones, netbooks, tablets, and the Digital Home
  7. 7. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. § Brings full Flash Player feature set to devices § New Features: § Multi-touch & gestures (not on Android) § Accelerometer § Screen orientation § Mobile text input § Device capabilities discovery § Globalization support (GSLib) § Mobile settings manager § Global error handling § Optimized SWF management for mobile § Sleep mode Flash Player 10.1
  8. 8. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Adobe AIR for smartphones (and tablets) § Adobe AIR allows developers to build standalone applications using Flash technology § Android available now, Google and RIM support AIR § First mobile operating system to be supported is Android § Provides Flash developers access to app stores
  9. 9. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. § Includes Flash Player 10.1 feature set § Additional Features: § Multi-touch & gestures § Geolocation § cut/copy/paste § tel:, mailto:, maps:, video: § Camera § Microphone § StageWebView § Device Debugger § cacheAsBitmapMatrix AIR 2.5
  10. 10. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Creating an Android App: Setup Get the Android SDK: http://developer.android.com/sdk Allows you to create and install apps on your device § Android - SDK Manager to install packages etc. § ADB – Android Device Debugger installs apps on your device § DDMS - Dalvik Debug Monitor for desktop simulation. Join the AIR Prerelease: http://labs.adobe.com/technologies/air/ § Get AIR for Android runtime .apk installed § Get the AIR for Android Extension for Flash CS5 § Get Flash Builder Burrito
  11. 11. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Flash CS5 AIR for Android Extension Create, install and launch an .apk using Flash Professional CS5 .apk
  12. 12. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Flash Builder “Burrito” Create, install and launch an .apk using Flash Builder Burrito .apk
  13. 13. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. AIR Packaging & Distribution Workflow .air .exe .apk native code and distribution .dmg .deb .ipa
  14. 14. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Let’s look at some code!
  15. 15. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Geolocation import flash.sensors.Geolocation; var geo:Geolocation; if (Geolocation.isSupported) {             geo = new Geolocation();             geo.addEventListener(GeolocationEvent.UPDATE, updateHandler);             geo.setRequestedUpdateInterval(10000); } function updateHandler(e:GeolocationEvent):void { e.latitude; e.longitude; e.speed; // and more... }
  16. 16. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Accelerometer import flash.sensors.Accelerometer; import flash.events.AccelerometerEvent; if (Accelerometer.isSupported) { var accel:Accelerometer = new Accelerometer(); accel.addEventListener(AccelerometerEvent.UPDATE, updateHandler); } function updateHandler(e:AccelerometerEvent):void { e.accelerationX; e.accelerationY; e.accelerationZ; }
  17. 17. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Gestures import flash.events.TransformGestureEvent; cell.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom); function onZoom(e:TransformGestureEvent):void { cell.scaleX *= e.scaleX; cell.scaleY = cell.scaleX; } cell.addEventListener(TransformGestureEvent.GESTURE_ROTATE, onRotate); function onRotate(e:TransformGestureEvent):void { cell.rotation += e.rotation; }
  18. 18. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Challenges: Performance of the SDK, Different screen sizes and densities. Solution: Hero - is the Flex 4 Framework § Optimizes both the performance and user experience § New mobile development capabilities: §Managing application “screens” §Resolution-independent layout § New user interface components designed for mobile form factors Flex on Mobile?
  19. 19. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

×