• Like

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Flash Platform for Devices

  • 1,161 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,161
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
23
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. The Flash Platform on devices SERGE JESPERS SR. PLATFORM EVANGELIST serge@adobe.com http://www.webkitchen.be @sjespers© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 2. Areas of Focus Web content & applications Standalone applications (Inside the browser) (Outside the browser)© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 3. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 4. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 5. Fastest path to great experiences everywhere© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 6. Flash Player 10.1 - Update§ Delivered: June 2010§ Available: at Adobe.com and the Android Market§ e only consistent browser-based runtime for connected devices§ Targeting desktops, mobile phones, netbooks, tablets, and the Digital Home© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 7. Flash Player 10.1§ 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 se ings manager § Global error handling § Optimized SWF management for mobile § Sleep mode© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 8. 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© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 9. AIR 2.5§ 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© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 10. Creating an Android App: Setup Get the Android SDK: h p://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: h p://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© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 11. Flash CS5 AIR for Android Extension Create, install and launch an .apk using Flash Professional CS5 .apk© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 12. Flash Builder “Burrito” Create, install and launch an .apk using Flash Builder Burrito .apk© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 13. AIR Packaging & Distribution Work ow .air native code and distribution .exe .dmg .deb .apk .ipa© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 14. Let’s look at some code!© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 15. Geolocation import ash.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... }© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 16. Accelerometer import ash.sensors.Accelerometer; import ash.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; }© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 17. Gestures import ash.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; }© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 18. Flex on Mobile? 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© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 19. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.