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.

Like this presentation? Why not share!

Flash Platform for Devices

on

  • 1,469 views

 

Statistics

Views

Total Views
1,469
Views on SlideShare
1,469
Embed Views
0

Actions

Likes
2
Downloads
23
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Flash Platform for Devices Flash Platform for Devices Presentation Transcript

  • 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.
  • Areas of Focus Web content & applications Standalone applications (Inside the browser) (Outside the browser)© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • Fastest path to great experiences everywhere© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Flash Builder “Burrito” Create, install and launch an .apk using Flash Builder Burrito .apk© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 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.
  • Let’s look at some code!© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 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.
  • 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.
  • 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.
  • 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.
  • © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.