SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
AIR2.5 on Android – Hands on Mark Doherty, Evangelist for Mobile and Devices - @markadoherty
Get set up
Creating an Android App: Setup Get the Android SDK: http://developer.android.com/sdk   Allows you to create and install apps on your device ,[object Object]
 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/ ,[object Object]
 Get the AIR for Android Extension for Flash CS5
 Get AIR for Android runtime .apk installed,[object Object]
Fragmentation is rarely a good thing
Designed ForDevices Advanced Networking Greater Performance Deeper Desktop Integration AIR 2
Adobe AIR for smartphones (and tablets) Adobe AIR allows developers to build standalone applications using Flash technology Android Beta is huge, Google and RIM support AIR First mobile operating system to be supported is Android iOS support for AIR 2.0 – work is underway Provides Flash developers access to app stores
Brings full Flash Player feature set to devices New Features: Multi-touch & gestures (not on Android) Accelerometer Peer-to-Peer Mobile text input Device capabilities discovery Globalization support (GSLib) Mobile settings manager Global error handling ,[object Object]
 Sleep modeFlash Player 10.1 – in the browser
Includes Flash Player 10.1 feature set Additional Features: File Storage SQL Databases Multi-touch & gestures Geolocation cut/copy/paste tel:, mailto:, maps:, video: Camera Microphone StageWebView On device debugger AIR 2.5 - Applications
AIR Packaging & Distribution Workflow .apk .ipa .dmg .deb / .rpm .air native code and distribution .exe
Flash CS5 AIR for Android Extension Create, install and launch an .apk using Flash Professional CS5 .apk
Raster Performance
Accelerometer
Accelerometer import flash.sensors.Accelerometer; import flash.events.AccelerometerEvent; if (Accelerometer.isSupported) { varaccel:Accelerometer = new Accelerometer(); accel.addEventListener(AccelerometerEvent.UPDATE,updateHandler); } functionupdateHandler(e:AccelerometerEvent):void { e.accelerationX; e.accelerationY; e.accelerationZ; }
Tap is the new Click
Gestures import flash.events.TransformGestureEvent; cell.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom); function onZoom(e:TransformGestureEvent):void { cell.scaleX *= e.scaleX; cell.scaleY *= e.scaleY; } cell.addEventListener(TransformGestureEvent.GESTURE_ROTATE, onRotate); function onRotate(e:TransformGestureEvent):void { cell.rotation +=  e.rotation; }
Geolocation
Geolocation import flash.sensors.Geolocation; vargeo:Geolocation; if (Geolocation.isSupported) //Remember that this doesn’t reflect availability {            geo = new Geolocation();            geo.addEventListener(GeolocationEvent.UPDATE, updateHandler);            geo.setRequestedUpdateInterval(10000);} function updateHandler(e:GeolocationEvent):void { e.latitude; e.longitude; e.altitude; e.speed; e.heading; e.timestamp; }
P2P
P2P
Resources ,[object Object]
Optimization guides:
Flash Player optimization for mobile devices
AIR best practices for mobile devices
Ads optimization
http://www.flashmobileblog.com
http://www.flashrealtime.com
http://labs.adobe.com,[object Object]
Optimization
Flash Player 10.1

Weitere ähnliche Inhalte

Was ist angesagt?

Deploying Solution Enhancements to Production
Deploying Solution Enhancements to ProductionDeploying Solution Enhancements to Production
Deploying Solution Enhancements to ProductionAras
 
Android chapter25-map views
Android chapter25-map viewsAndroid chapter25-map views
Android chapter25-map viewsTran Le Hoan
 
Android studio
Android studioAndroid studio
Android studioAndri Yabu
 
How to use geolocation in react native apps
How to use geolocation in react native appsHow to use geolocation in react native apps
How to use geolocation in react native appsInnovationM
 
Eclipse platform news and how to contribute to the Eclipse Open Source project
Eclipse platform news and how to contribute to the Eclipse Open Source projectEclipse platform news and how to contribute to the Eclipse Open Source project
Eclipse platform news and how to contribute to the Eclipse Open Source projectLars Vogel
 

Was ist angesagt? (6)

Deploying Solution Enhancements to Production
Deploying Solution Enhancements to ProductionDeploying Solution Enhancements to Production
Deploying Solution Enhancements to Production
 
Android chapter25-map views
Android chapter25-map viewsAndroid chapter25-map views
Android chapter25-map views
 
Android studio
Android studioAndroid studio
Android studio
 
How to use geolocation in react native apps
How to use geolocation in react native appsHow to use geolocation in react native apps
How to use geolocation in react native apps
 
Eclipse platform news and how to contribute to the Eclipse Open Source project
Eclipse platform news and how to contribute to the Eclipse Open Source projectEclipse platform news and how to contribute to the Eclipse Open Source project
Eclipse platform news and how to contribute to the Eclipse Open Source project
 
Android Essential Tools
Android Essential ToolsAndroid Essential Tools
Android Essential Tools
 

Ähnlich wie AIR2.5 Hands On - Flash on the Beach 2010

Adobe AIR 2.5 Beta for Android
Adobe AIR 2.5 Beta for AndroidAdobe AIR 2.5 Beta for Android
Adobe AIR 2.5 Beta for AndroidMark Doherty
 
Creating Flash Content for Multiple Screens
Creating Flash Content for Multiple ScreensCreating Flash Content for Multiple Screens
Creating Flash Content for Multiple Screenspaultrani
 
Flash for Mobile Devices
Flash for Mobile DevicesFlash for Mobile Devices
Flash for Mobile Devicespaultrani
 
Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5Chris Griffith
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxNgLQun
 
Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Chris Griffith
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRTerry Ryan
 
Developer Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersDeveloper Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersJiaxuan Lin
 
Apache Cordova In Action
Apache Cordova In ActionApache Cordova In Action
Apache Cordova In ActionHazem Saleh
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for DevicesSerge Jespers
 
Whats New in Android
Whats New in AndroidWhats New in Android
Whats New in Androiddonnfelker
 
Using AIR for Mobile Development
Using AIR for Mobile DevelopmentUsing AIR for Mobile Development
Using AIR for Mobile DevelopmentVeronique Brossier
 
Presentation - Windows App Development - II - Mr. Chandan Gupta
Presentation - Windows App Development - II - Mr. Chandan GuptaPresentation - Windows App Development - II - Mr. Chandan Gupta
Presentation - Windows App Development - II - Mr. Chandan GuptaMobileNepal
 
[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In ActionHazem Saleh
 
Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development OverviewIgor Birman
 

Ähnlich wie AIR2.5 Hands On - Flash on the Beach 2010 (20)

Adobe AIR 2.5 Beta for Android
Adobe AIR 2.5 Beta for AndroidAdobe AIR 2.5 Beta for Android
Adobe AIR 2.5 Beta for Android
 
Creating Flash Content for Multiple Screens
Creating Flash Content for Multiple ScreensCreating Flash Content for Multiple Screens
Creating Flash Content for Multiple Screens
 
Flash for Mobile Devices
Flash for Mobile DevicesFlash for Mobile Devices
Flash for Mobile Devices
 
Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
 
Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIR
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
 
Developer Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersDeveloper Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for Beginners
 
Apache Cordova In Action
Apache Cordova In ActionApache Cordova In Action
Apache Cordova In Action
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
 
Whats New in Android
Whats New in AndroidWhats New in Android
Whats New in Android
 
Using AIR for Mobile Development
Using AIR for Mobile DevelopmentUsing AIR for Mobile Development
Using AIR for Mobile Development
 
Presentation - Windows App Development - II - Mr. Chandan Gupta
Presentation - Windows App Development - II - Mr. Chandan GuptaPresentation - Windows App Development - II - Mr. Chandan Gupta
Presentation - Windows App Development - II - Mr. Chandan Gupta
 
[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action
 
pebble - Building apps on pebble
pebble - Building apps on pebblepebble - Building apps on pebble
pebble - Building apps on pebble
 
Developing in android
Developing in androidDeveloping in android
Developing in android
 
Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development Overview
 

AIR2.5 Hands On - Flash on the Beach 2010

  • 1. AIR2.5 on Android – Hands on Mark Doherty, Evangelist for Mobile and Devices - @markadoherty
  • 3.
  • 4. ADB – Android Device Debugger installs apps on your device
  • 5.
  • 6. Get the AIR for Android Extension for Flash CS5
  • 7.
  • 8. Fragmentation is rarely a good thing
  • 9. Designed ForDevices Advanced Networking Greater Performance Deeper Desktop Integration AIR 2
  • 10. Adobe AIR for smartphones (and tablets) Adobe AIR allows developers to build standalone applications using Flash technology Android Beta is huge, Google and RIM support AIR First mobile operating system to be supported is Android iOS support for AIR 2.0 – work is underway Provides Flash developers access to app stores
  • 11.
  • 12. Sleep modeFlash Player 10.1 – in the browser
  • 13. Includes Flash Player 10.1 feature set Additional Features: File Storage SQL Databases Multi-touch & gestures Geolocation cut/copy/paste tel:, mailto:, maps:, video: Camera Microphone StageWebView On device debugger AIR 2.5 - Applications
  • 14. AIR Packaging & Distribution Workflow .apk .ipa .dmg .deb / .rpm .air native code and distribution .exe
  • 15. Flash CS5 AIR for Android Extension Create, install and launch an .apk using Flash Professional CS5 .apk
  • 18. Accelerometer import flash.sensors.Accelerometer; import flash.events.AccelerometerEvent; if (Accelerometer.isSupported) { varaccel:Accelerometer = new Accelerometer(); accel.addEventListener(AccelerometerEvent.UPDATE,updateHandler); } functionupdateHandler(e:AccelerometerEvent):void { e.accelerationX; e.accelerationY; e.accelerationZ; }
  • 19. Tap is the new Click
  • 20. Gestures import flash.events.TransformGestureEvent; cell.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom); function onZoom(e:TransformGestureEvent):void { cell.scaleX *= e.scaleX; cell.scaleY *= e.scaleY; } cell.addEventListener(TransformGestureEvent.GESTURE_ROTATE, onRotate); function onRotate(e:TransformGestureEvent):void { cell.rotation += e.rotation; }
  • 22. Geolocation import flash.sensors.Geolocation; vargeo:Geolocation; if (Geolocation.isSupported) //Remember that this doesn’t reflect availability {            geo = new Geolocation();            geo.addEventListener(GeolocationEvent.UPDATE, updateHandler);            geo.setRequestedUpdateInterval(10000);} function updateHandler(e:GeolocationEvent):void { e.latitude; e.longitude; e.altitude; e.speed; e.heading; e.timestamp; }
  • 23. P2P
  • 24. P2P
  • 25.
  • 27. Flash Player optimization for mobile devices
  • 28. AIR best practices for mobile devices
  • 32.
  • 35.
  • 36. Keep bitmaps as small as possible
  • 37. Minimize number of vectors
  • 38.
  • 41.
  • 42.
  • 44. Test different anti-aliasing technics (animation, bitmap text...)
  • 45. Avoid frequently-updated textLoremIpsum dolor…
  • 46.
  • 47.
  • 48.
  • 49. Consider adjusting content based on layout:stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; function setPosition():void { vidHolder.x = stageWidth/2 - vidHolder.width/2; vidHolder.y = stageHeight/2 - vidHolder.height/2; //If the layout is vertical if (stage.stageWidth < stage.stageHeight) { //Adjust graphics } } setPosition(); stage.addEventListener(Event.RESIZE, resizeLayout); function resizeLayout(e:Event):void { setPosition(); } 800px 800px 480px 480px
  • 50.
  • 51. getSize(); will return object sizeObjects that aren’t interactive, use Shape(); trace(getSize(new Shape())); // output: 216 Interactive but no timeline? Use Sprite(); trace(getSize(newSprite()));// output: 396 Need animation? Use Movieclip(); trace(getSize(newMovieClip()));// output: 416
  • 52.
  • 53.
  • 54.
  • 56. The Flash Platform and HTML5 “HTML 5 and RIA platforms will be complementary technologies, and enterprise development shops will need to invest in both approaches to deliver expressive applications that combine reach and richness.”* -Forrester Adobe does and will continue to support HTML The Flash Platform has integrated seamlessly with HTML for 14 years, and that won’t change AIR 2.0 (desktop) includes support for HTML5 Adobe is committed to supporting HTML5 in its leading Web development tools The Flash Platform delivers cross-platform, cross-browser, cross-device consistency HTML5 implementations will differ and hinder content adoption of rich features, including video tag support No consistency in codec support for video is yet visible Adobe offers best-in-class tool chain used by 3.5 million designers and developers HTML5 will require and benefit from Adobe’s investment in breadth of tooling Rapid update cycles enable Flash innovations to reach ubiquity in less than 1 year Flash will continue to lead in innovation, much faster than HTML and browsers *“Does HTML 5 Herald The End Of RIA Plug-Ins? Not Really,” Forrester Research, Inc., April, 2010 All external content and images pending approvals.

Hinweis der Redaktion

  1. Get the Android SDK: http://developer.android.com/sdkAllows you to create and install apps on your device (Android SDK Manager, ADB, DDMS etc.)
  2. Deeper Desktop IntegrationAccess new networking capabilities not available in the browser including encrypted sockets (TLS), UDP and server sockets Build applications that execute &amp; communicate with native processes Detect and access mass storage devices including USB Flash drivesDevelop entirely new desktop experiences using multi-touch and gesture support Record and store audio locally without the need for a server Faster, Better, Stronger Print capabilities allow developers new levels of control over quality and printer settings Applications built with AIR 1.5 use less memory and CPU when running under AIR 2 without requiring app recompilation Develop Flash-based applications that work with supported screen readers including JAWS Updated WebKit supports JavaScript profiling, a faster JavaScript engine and new CSS3 features Extend AIR Beyond the PCBuild multi-screen applications that target the iPhone, iPad and Android with very little code change. Export and upload mobile apps as native packages to marketplacesDESKTOP INTEGRATION Native procesesOpen documentDrive detectionBuild native installersFile promises NETWORKING TLS/SSL socketsListen on a socket UDP support Network interface propertiesDNS resolution
  3. Adobe AIR is another runtime in the Flash Platform that has been extended to mobile platformsIn fact this year we intend to bring AIR to Android devices, and enable you to repackage these applications for the iPhoneWith Adobe AIR you can take advantage of more platform specific features, such as Geolocation and File access and distribute these applications through applications storesUltimately being able to monetize your applications is very important, and we believe that having the choice of browser or standalone distribution is hugely beneficial
  4. Delivering the new runtime for mobile phones requires a set of new features and investments.We have completed a huge amount of engineering to increase performance and use less memory on devices.As well as that, the new runtime supports features that are common on these new mobile platforms.We have added multi-touch support, Accelerometer, and new APIs for globalization, error handling and text input
  5. Delivering the new runtime for mobile phones requires a set of new features and investments.We have completed a huge amount of engineering to increase performance and use less memory on devices.As well as that, the new runtime supports features that are common on these new mobile platforms.We have added multi-touch support, Accelerometer, and new APIs for globalization, error handling and text input
  6. Today AIR enables developers and designers to create applications for Windows/Mac and Linux computersTo install applications we can use the .AIR package format for applications that can run across all platformsWith AIR 2.0 it’s also possible to use native code, and so we have enabled AIR applications to be packaged in .exe or .dmg files. Mobile devices will also use their native package formats, like apk for AndroidFor the most part these will require no extra effort for you, they merely ensure that you can distribute your applications in AppStores today.
  7. Text engineCode snippets panelSpring for bonesBuilder integration (after FB)
  8. Mobile text input A virtual keyboard is automatically raised and lowered in response to focus changes on text fields when editing text on mobile devices supporting a virtual keyboard to enable unobstructed and intuitive text editing. The focused text field is centered in the visible region of the page and appropriately zoomed/scrolled to ensure it is not obscured by the virtual keyboard. Upon screen rotation, incoming calls, or other system events, any already existing text input is retained. The virtual keyboard works with TextField but does not currently work with the Text Layout Framework or other Flash Text Engine text.Multi-touch and gesturesCreate multi-touch aware content for a wide range of devices and multi-touch capable machines running Microsoft Windows 7. Interact with multiple objects simultaneously or work with native gestures, such as pinch, scroll, rotate, scale and two-finger tap. Multi-touch support in Flash Player 10.1 is not available for Android.Accelerometer inputA new Accelerometer class allows developers to read acceleration values in X, Y and Z axes from native device accelerometer sensors in ActionScript. Optimized SWF management for mobile(Mobile only)Flash Player 10.1 optimizes SWF loading and playback for mobile CPU and memory limitations to provide a better user experience. Instances are loaded or deferred based on SWF priority, visibility and available memory and CPU resources to enable more immediate browsing experiences without waiting for every SWF on a page to load. Developers can indicate SWF priority through a new HTML parameter, hasPriority. Deferred instances are loaded after the HTML page load is complete, and offscreen and invisible instances are started when they become visible. Flash Player will also automatically pause SWF playback it is not in view or the foreground application, for example when a call is received or alarm goes off, to reduce CPU utilization, battery usage and memory usage.Sleep mode(Mobile only)The Flash Player timer slows down when the mobile device goes into screen-saver or similar mode to reduce CPU and battery consumption on mobile devices. The timer returns to the default setting when a wake-up event is triggered. There is no interruption in audio/video playback. Incoming phone calls pause Flash Player.Graphics hardware acceleration(Mobile only)A GPU-based vector renderer replaces the software renderer on smartphones and other mobile devices, resulting in faster rendering performance for more expressive user experiences while consuming less power. Supports hardware acceleration of all rendering, including vector graphics, bitmaps, 3D effects, filters, color transforms, alpha, device and embedded text, Saffron type, and cacheAsBitmap. Implementation of graphics hardware acceleration will be dependent on the graphics silicon vendor of the device. This feature is not available for Android devices.H.264 video hardware decodingFlash Player 10.1 introduces hardware-based H.264 video decoding to deliver smooth, high quality video with minimal overhead across supported mobile devices and PCs. Using available hardware to decode video offloads tasks from the CPU, improving video playback performance, reducing system resource utilization, and preserving battery life. H.264 video hardware acceleration is not supported on the Nexus One at this time.
  9. Mobile text input A virtual keyboard is automatically raised and lowered in response to focus changes on text fields when editing text on mobile devices supporting a virtual keyboard to enable unobstructed and intuitive text editing. The focused text field is centered in the visible region of the page and appropriately zoomed/scrolled to ensure it is not obscured by the virtual keyboard. Upon screen rotation, incoming calls, or other system events, any already existing text input is retained. The virtual keyboard works with TextField but does not currently work with the Text Layout Framework or other Flash Text Engine text.Multi-touch and gesturesCreate multi-touch aware content for a wide range of devices and multi-touch capable machines running Microsoft Windows 7. Interact with multiple objects simultaneously or work with native gestures, such as pinch, scroll, rotate, scale and two-finger tap. Multi-touch support in Flash Player 10.1 is not available for Android.Accelerometer inputA new Accelerometer class allows developers to read acceleration values in X, Y and Z axes from native device accelerometer sensors in ActionScript. Optimized SWF management for mobile(Mobile only)Flash Player 10.1 optimizes SWF loading and playback for mobile CPU and memory limitations to provide a better user experience. Instances are loaded or deferred based on SWF priority, visibility and available memory and CPU resources to enable more immediate browsing experiences without waiting for every SWF on a page to load. Developers can indicate SWF priority through a new HTML parameter, hasPriority. Deferred instances are loaded after the HTML page load is complete, and offscreen and invisible instances are started when they become visible. Flash Player will also automatically pause SWF playback it is not in view or the foreground application, for example when a call is received or alarm goes off, to reduce CPU utilization, battery usage and memory usage.Sleep mode(Mobile only)The Flash Player timer slows down when the mobile device goes into screen-saver or similar mode to reduce CPU and battery consumption on mobile devices. The timer returns to the default setting when a wake-up event is triggered. There is no interruption in audio/video playback. Incoming phone calls pause Flash Player.Graphics hardware acceleration(Mobile only)A GPU-based vector renderer replaces the software renderer on smartphones and other mobile devices, resulting in faster rendering performance for more expressive user experiences while consuming less power. Supports hardware acceleration of all rendering, including vector graphics, bitmaps, 3D effects, filters, color transforms, alpha, device and embedded text, Saffron type, and cacheAsBitmap. Implementation of graphics hardware acceleration will be dependent on the graphics silicon vendor of the device. This feature is not available for Android devices.H.264 video hardware decodingFlash Player 10.1 introduces hardware-based H.264 video decoding to deliver smooth, high quality video with minimal overhead across supported mobile devices and PCs. Using available hardware to decode video offloads tasks from the CPU, improving video playback performance, reducing system resource utilization, and preserving battery life. H.264 video hardware acceleration is not supported on the Nexus One at this time.
  10. Mobile text input A virtual keyboard is automatically raised and lowered in response to focus changes on text fields when editing text on mobile devices supporting a virtual keyboard to enable unobstructed and intuitive text editing. The focused text field is centered in the visible region of the page and appropriately zoomed/scrolled to ensure it is not obscured by the virtual keyboard. Upon screen rotation, incoming calls, or other system events, any already existing text input is retained. The virtual keyboard works with TextField but does not currently work with the Text Layout Framework or other Flash Text Engine text.Multi-touch and gesturesCreate multi-touch aware content for a wide range of devices and multi-touch capable machines running Microsoft Windows 7. Interact with multiple objects simultaneously or work with native gestures, such as pinch, scroll, rotate, scale and two-finger tap. Multi-touch support in Flash Player 10.1 is not available for Android.Accelerometer inputA new Accelerometer class allows developers to read acceleration values in X, Y and Z axes from native device accelerometer sensors in ActionScript. Optimized SWF management for mobile(Mobile only)Flash Player 10.1 optimizes SWF loading and playback for mobile CPU and memory limitations to provide a better user experience. Instances are loaded or deferred based on SWF priority, visibility and available memory and CPU resources to enable more immediate browsing experiences without waiting for every SWF on a page to load. Developers can indicate SWF priority through a new HTML parameter, hasPriority. Deferred instances are loaded after the HTML page load is complete, and offscreen and invisible instances are started when they become visible. Flash Player will also automatically pause SWF playback it is not in view or the foreground application, for example when a call is received or alarm goes off, to reduce CPU utilization, battery usage and memory usage.Sleep mode(Mobile only)The Flash Player timer slows down when the mobile device goes into screen-saver or similar mode to reduce CPU and battery consumption on mobile devices. The timer returns to the default setting when a wake-up event is triggered. There is no interruption in audio/video playback. Incoming phone calls pause Flash Player.Graphics hardware acceleration(Mobile only)A GPU-based vector renderer replaces the software renderer on smartphones and other mobile devices, resulting in faster rendering performance for more expressive user experiences while consuming less power. Supports hardware acceleration of all rendering, including vector graphics, bitmaps, 3D effects, filters, color transforms, alpha, device and embedded text, Saffron type, and cacheAsBitmap. Implementation of graphics hardware acceleration will be dependent on the graphics silicon vendor of the device. This feature is not available for Android devices.H.264 video hardware decodingFlash Player 10.1 introduces hardware-based H.264 video decoding to deliver smooth, high quality video with minimal overhead across supported mobile devices and PCs. Using available hardware to decode video offloads tasks from the CPU, improving video playback performance, reducing system resource utilization, and preserving battery life. H.264 video hardware acceleration is not supported on the Nexus One at this time.
  11. Mobile text input A virtual keyboard is automatically raised and lowered in response to focus changes on text fields when editing text on mobile devices supporting a virtual keyboard to enable unobstructed and intuitive text editing. The focused text field is centered in the visible region of the page and appropriately zoomed/scrolled to ensure it is not obscured by the virtual keyboard. Upon screen rotation, incoming calls, or other system events, any already existing text input is retained. The virtual keyboard works with TextField but does not currently work with the Text Layout Framework or other Flash Text Engine text.Multi-touch and gesturesCreate multi-touch aware content for a wide range of devices and multi-touch capable machines running Microsoft Windows 7. Interact with multiple objects simultaneously or work with native gestures, such as pinch, scroll, rotate, scale and two-finger tap. Multi-touch support in Flash Player 10.1 is not available for Android.Accelerometer inputA new Accelerometer class allows developers to read acceleration values in X, Y and Z axes from native device accelerometer sensors in ActionScript. Optimized SWF management for mobile(Mobile only)Flash Player 10.1 optimizes SWF loading and playback for mobile CPU and memory limitations to provide a better user experience. Instances are loaded or deferred based on SWF priority, visibility and available memory and CPU resources to enable more immediate browsing experiences without waiting for every SWF on a page to load. Developers can indicate SWF priority through a new HTML parameter, hasPriority. Deferred instances are loaded after the HTML page load is complete, and offscreen and invisible instances are started when they become visible. Flash Player will also automatically pause SWF playback it is not in view or the foreground application, for example when a call is received or alarm goes off, to reduce CPU utilization, battery usage and memory usage.Sleep mode(Mobile only)The Flash Player timer slows down when the mobile device goes into screen-saver or similar mode to reduce CPU and battery consumption on mobile devices. The timer returns to the default setting when a wake-up event is triggered. There is no interruption in audio/video playback. Incoming phone calls pause Flash Player.Graphics hardware acceleration(Mobile only)A GPU-based vector renderer replaces the software renderer on smartphones and other mobile devices, resulting in faster rendering performance for more expressive user experiences while consuming less power. Supports hardware acceleration of all rendering, including vector graphics, bitmaps, 3D effects, filters, color transforms, alpha, device and embedded text, Saffron type, and cacheAsBitmap. Implementation of graphics hardware acceleration will be dependent on the graphics silicon vendor of the device. This feature is not available for Android devices.H.264 video hardware decodingFlash Player 10.1 introduces hardware-based H.264 video decoding to deliver smooth, high quality video with minimal overhead across supported mobile devices and PCs. Using available hardware to decode video offloads tasks from the CPU, improving video playback performance, reducing system resource utilization, and preserving battery life. H.264 video hardware acceleration is not supported on the Nexus One at this time.
  12. Adobe does and will continue to support HTMLThe Flash Platform has integrated seamlessly with HTML for 14 years, and that won’t changeAIR 2.0 (desktop) includes support for HTML5Adobe is committed to supporting HTML5 in its leading Web development toolsThe Flash Platform delivers cross-platform, cross-browser, cross-device consistencyHTML5 implementations will differ and hinder content adoption of rich features, including video tag supportNo consistency in codec support for video is yet visibleAdobe offers best-in-class tool chain used by 3.5 million designers and developersHTML5 will require and benefit from Adobe’s investment in breadth of toolingRapid update cycles enable Flash innovations to reach ubiquity in less than 1 yearFlash will continue to lead in innovation, much faster than HTML and browsersHTML5 implementations are likely to exhibit some inconsistenciesBrowser implementations have long varied, creating challenges for developersNew implementations are just as likely to varyStandardization and evolution to consistency will take yearsFlash Player delivers cross-platform, cross-browser, cross-device consistencyNo consistency in codec support for video yet visibleMajor browser vendors are unable to agree on common codecsThese disagreements resulted in a video tag spec that will not include a codec requirement