SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
Develop mobile applications with Flex
      Michaël Chaize | Flash Platform Evangelist




© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Menu du jour




                                                                             Flex & Flash on mobile
                                                                             Live coding for Android
                                                                             Mobile APIs
                                                                             Flex, Java and Real-time
                                                                             Resources




                                                                                        2
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Adobe Flex




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   3
Adobe Flex basics


                   Flash Builder IDE                                                                  Browser

         Flex SDK                                                                                     Flash Player
               MXML                    ActionScript

                     Flex Class Library                                       SOAP           HTTP/S             AMF/S         RTMP/S



                                                                               Web Server
                            Compile
                                                                              XML/HTTP
                                                                                                                Adobe Data Services
                                                                              REST
                                                                              SOAP Web Services           J2EE Application Server

                                                                                     Existing Applications & Infrastructure


© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.          4
FLEX FRAMEWORK 3

OLD COMPONENT MODEL




                      Component / Skin




                                         Graphics
                                         Layout
                                         Animation
                                         Parts
                                         States
                                         Behavior
                                         Logic
                                         Data
FLEX FRAMEWORK 4

SPARK COMPONENT MODEL




                   ActionScript                    MXML


                    Component                        Skin




                                                    Graphics
                     Behavior                        Layout
                                                   Animation
                      Logic
                                  CSS properties      Parts
                       Data                          States
First-class interfaces




©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Flex on mobile ?
Open Screen Project

                      Technologic partners                                    Content providers




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Flash Player 10.1




                                                                              Flash Player 10.1



                                 Google TV




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Adobe AIR 2.5 = native applications = multiple screens




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Native Applications




                  Native                                  Native   Native   Native   Native   Native
                   App                                     App      App      App      App      App




                        iOS                                                                    ?


© 2010 Adobe Systems Incorporated. All Rights Reserved.
Abstraction Layer




                                                                        Flex Application



                                                                  Adobe runtimes (Flash & AIR)



                        iOS                                                                             ?
                    2011                                  READY       READY         soon         soon




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Flex “Hero”




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Mobile Applications in "Hero"

                   s:Application                          s:MobileApplication   s:TabbedMobileApplication




© 2010 Adobe Systems Incorporated. All Rights Reserved.               15
<s:MobileApplication> life cycle

                       views.ListEmployees                views.DetailsEmployee   views.ListEmployees




                                                               view destroyed        view created



                              view destroyed                view created




                                                             “BACK” bu on

                                         DATA                      subset               DATA

                                                           persisted in memory
© 2010 Adobe Systems Incorporated. All Rights Reserved.             16
ActionBar




                     navigationContent                    titleContent   actionContent



 <s:View xmlns:fx=http://ns.adobe.com/mxml/2009 …
         title=”Expenses">

                            <s:navigationContent>
                                    <s:Button icon="@Embed('assets/home.png')"/>
                            </s:navigationContent>

         <s:actionContent>
                 <s:Button label=”+"/>
         </s:actionContent>
 </s:View>


© 2010 Adobe Systems Incorporated. All Rights Reserved.          17                      3
Components that have Mobile Skins


                                                          §   Button
                                                          §   CheckBox
                                                          §   DataGroup
                                                          §   Group/HGroup/VGroup/TileGroup
                                                          §   Image/BitmapImage
                                                          §   Label List
                                                          §   RadioButton/RadioButtonGroup
                                                          §   Scroller
                                                          §   TextArea
                                                          §   TextInput




© 2010 Adobe Systems Incorporated. All Rights Reserved.           18
Mobile APIs




© 2010 Adobe Systems Incorporated. All Rights Reserved.   19
GEO APIs

 §    Android Permission Required:
 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission
 android:name="android.permission.ACCESS_FINE_LOCATION" />

 §    Geolocation.isSupported
 §    g.addEventListener(GeolocationEvent.UPDATE, callbackFunction);
 §    GeolocationEvent:
       §     altitude

       §     heading

       §     horizontalAccuracy

       §     latitude

       §     longitude

       §     speed

       §     timestamp

       §     verticalAccuracy




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Accelerometer APIs

 §    Accelerometer.isSupported
 §    a.addEventListener(AccelerometerEvent.UPDATE, callbackFunction);
 §    AccelerometerEvent:
       §     accelerationX
       §     accelerationY
       §     accelerationZ
       §     timestamp




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Multi-Touch APIs

 §    Android manifest change:
 <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>

 §    Gesture OR Multitouch --- Multitouch.inputMode


         MultitouchInputMode.GESTURE                                       §   MultitouchInputMode.TOUCH_POINT
  §


                TransformGestureEvent                                             §   TouchEvent
         §


                     GESTURE_PAN                                                          §   TOUCH_BEGIN
                §


                     GESTURE_ROTATE                                                       §   TOUCH_END
                §


                     GESTURE_SWIPE                                                        §   TOUCH_MOVE
                §


                     GESTURE_ZOOM                                                         §   TOUCH_OUT
                §


                GestureEvent.GESTURE_TWO_FINGER_TAP                                       §   TOUCH_OVER
         §


                PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP                             §   TOUCH_ROLL_OUT
         §

                                                                                          §   TOUCH_ROLL_OVER

                                                                                          §   TOUCH_TAP




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Remote Data

 §    Android Permission Required:
      <uses-permission android:name="android.permission.INTERNET"/>
 §    Standard Flex Networking Libraries:
       §     HTTPService
       §     WebService
       §     RemoteObject




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Full Screen & Orientation

 §    stage.displayState = StageDisplayState.NORMAL
 §    stage.displayState = StageDisplayState.FULL_SCREEN
 §    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE


 §    StageOrientationEvent:
 stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, callbackFunction);

 §    foo-app.xml:
                            <initialWindow>
                                                          <autoOrients>true</autoOrients>




© 2010 Adobe Systems Incorporated. All Rights Reserved.
Camera Access

 §    Camera - Raw camera feed
 <uses-permission android:name="android.permission.CAMERA" />

 <uses-feature android:name="android.hardware.camera" android:required="true"/>

 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

 <uses-feature android:name="android.hardware.camera.flash" android:required="false"/>

 §    CameraUI - Native Camera App
 var cameraUI:CameraUI = new CameraUI();

 cameraUI.launch(MediaType.IMAGE);

 §    CameraRoll - Choose photos from the device's camera roll
 var cameraRoll:CameraRoll = new CameraRoll();

 cameraRoll.browseForImage();

 cameraRoll.addBitmapData(bd);




© 2010 Adobe Systems Incorporated. All Rights Reserved.   25
Native App Integration

 §    Open Email, Browser, Maps, Phone, or SMS
       §     navigateToURL(new URLRequest('mailto:foo@bar.com'));
       §     navigateToURL(new URLRequest('http://www.jamesward.com'));
       §     navigateToURL(new URLRequest('http://maps.google.com/'));
       §     navigateToURL(new URLRequest('tel:1234567890'));
       §     navigateToURL(new URLRequest('sms:1234567890'));




© 2010 Adobe Systems Incorporated. All Rights Reserved.   26
Local DB APIs

 §    SQLite - Nothing different than AIR for the Desktop
 §    SQLConnection
       §     Sync and/or Async connections

 §    SQLStatement
       §     Prepared Statements:

 var stmt:SQLStatement = new SQLStatement();
 stmt.sqlConnection = FlexGlobals.topLevelApplication['sqlConnection'];
 stmt.text = "INSERT into giberish values(:giberish)";
 stmt.parameters[":giberish"] = g.text;
 stmt.execute();




© 2010 Adobe Systems Incorporated. All Rights Reserved.
StageWebView

 §    Requires Android INTERNET permission:
 <uses-permission android:name="android.permission.INTERNET" />
 §    WebStageView.isSupported
 var swv:StageWebView = new StageWebView();
 swv.viewPort = new Rectangle(0, stage.height - height, width, height);
 swv.stage = stage;
 swv.loadURL("http://www.riagora.com");




© 2010 Adobe Systems Incorporated. All Rights Reserved.   28
Mobile applications + JAVA = REAL-TIME




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   29
IN-CONTEXT COLLABORATION

 LiveCycle Collaboration Service



                           Webcam   Chat




     Shared
     Form
LiveCycle Collaboration Service


    Multi-user collaboration in real time
     §    Engage more effectively through a web presence enhanced
           with real-time collaboration tools.
     §    Integrate text chat, whiteboard functionality, webcam video,
           and audio into any rich Internet application (RIA),




 Major Capabilities


 Peer-to-peer (P2P) streaming of data, audio and video                        HTTP server-to-server APIs
 Private audio/video streaming                                                Server-side provisioning of services

 Large Rooms – via on-demand loading of user                                  Audio/video application multicast
 presence

 Record and Playback                                                          Screen sharing
 JavaScript APIs – integration with a customer’s exist
                                                     ting websites



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.        31
All external content and images pending approvals.
LiveCycle Data Services today




                                                                     Flex Client   Flex Client        Flex Client




                                                                     LCDS




                                                                                   Java Classes

                                                                                       Thing1.class
                                                                                       Thing2.class
                                                                                       Thing3.class



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.                32
LiveCycle Data Services tomorrow (2011)




HTML5/JS Client                          Java Client                           Flex Client                     Flex Client   Flex Client           Android Client      ObjC Client




                                                                                                            .NET Adapter
                                                                                                               Remoting
                                                                                                               Messaging
                                                                                                               Data Mgmt                                  IIS Plugin
                                                                                                                                                              .NET Remoting
               LCDS

                                                                                             .NET Adapter
                                                                                                                                                              Messaging
                                                                                                                                                              MSMQ Messaging




                                                                                                                                       NET
                                                            Java Classes                                                         .NET C# Classes

                                                                 Thing1.class                                                         Thing1.dll
                                                                                                                                         ??.???
                                                                 Thing2.class                                                         Thing2.dll
                                                                                                                                         ??.???
                                                                 Thing3.class                                                         Thing3.dll
                                                                                                                                         ??.???



 © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.                                           33
Publish/Subscribe Messaging




                                                                               LiveCycle DS / Blaze DS


                           §Client A



                                                                                               Message
                                                                               Endpoint
                                                                                                Service


                           §Client B




                                                                      §RTMP
                           §Client C
                                                                      §AMF               Publisher
                                                                      §HTTP              Subscriber



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Data Push - Messaging




                                                                              LiveCycle DS / Blaze DS

                                                                                                                      Messaging
                                                                                                        Adapter X
                                                                                                                      System X



                                                                                            Message                   JMS
                                                                              Endpoint                  JMS Adapter
                                                                                            Services                  Provider



                                                                                                                      Messaging
                                                                                                        Adapter Y
                                                                                                                      System Y




                                                      §RTMP

                                                      §AMF                              Publisher
                                                      §HTTP                             Subscriber



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Data Push - Messaging

public static class GPSThread extends Thread {
	 	 public boolean running = true;

	      	        public void run() {
	      	        	 MessageBroker msgBroker = MessageBroker.getMessageBroker(null);
	      	        	 String clientID = UUIDUtils.createUUID();

	      	        	         while (running) {
	      	        	         	 double change = gpsService.getCurrentPosition();

	      	        	         	        AsyncMessage msg = new AsyncMessage();
	      	        	         	        msg.setDestination("feed");
	      	        	         	        msg.setClientId(clientID);
	      	        	         	        msg.setMessageId(UUIDUtils.createUUID());
	      	        	         	        msg.setTimestamp(System.currentTimeMillis());
	      	        	         	        msg.setBody(new Double(change));
	      	        	         	        msgBroker.routeMessageToService(msg, null);

	      	        	         	        try {
	      	        	         	        	 Thread.sleep(300);
	      	        	         	        } catch (InterruptedException e) {
	      	        	         	        }

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Michaël Chaize & resources




                                                                              RIAgora.com         Flex.org
                                                                                              labs.adobe.com
                                                                                            developer.adobe.com

                    @mchaize                                                                Tour de Mobile Flex


© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.         37
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Bar Chart

Try to use neutral colors for most chart elements, and highlight elements of interest
with bright colors


               5.0



               3.8


                                                                                                                          Series 1
               2.5                                                                                                        Series 2
                                                                                                                          Series 3


               1.3



                  0
                                   Category 1                                 Category 2        Category 3   Category 4


© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.                39
Pie Chart

Try to use neutral colors for most chart elements, and highlight elements of interest
with bright colors



                                                                              Sales



                                                                                      1st Qtr
                                                                                      2nd Qtr
                                                                                      3rd Qtr
                                                                                      4th Qtr




© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.     40
Gray Content Area Layout

For use with full-screen images or diagrams that look good on gray




© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   41
Black Content Area Layout

For use with full-screen images or diagrams that look good on black




© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   42
Color Palette


        Dynamic                                                                                             Note

                                                                                                            The Adobe corporate color
                                                                                                            palette has been incorporated
                                                                                                            into this presentation template.
        R - 255                R – 251                  R - 255               R - 193   R-0       R - 131
        G-0                    G - 176                  G - 221               G - 216   G - 164   G - 72
        B-0                    B - 52                   B-0                   B - 47    B - 228   B - 181   Refer to the Corporate Brand
                                                                                                            Guidelines, found on Brand
                                                                                                            Center for more guidance on
                                                                                                            using this color palette
        Neutral
                                                                                                            www.adobe.com/brandecenter




        R - 218               R - 172                 R - 107                 R - 228   R - 192   R - 136
        G - 221               G - 179                 G - 115                 G - 223   G - 181   G - 120
        B – 224               B - 185                 B - 123                 B - 217   B - 169   B - 104




© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Contenu connexe

Tendances

HTML5를 활용한 하이브리드 앱개발하기
HTML5를 활용한 하이브리드 앱개발하기HTML5를 활용한 하이브리드 앱개발하기
HTML5를 활용한 하이브리드 앱개발하기정현 황
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapNick Landry
 
Adobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBookAdobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBookMihai Corlan
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGapJoshua Johnson
 
Introduction to Adobe Shadow
Introduction to Adobe ShadowIntroduction to Adobe Shadow
Introduction to Adobe ShadowMihai Corlan
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileBuilding Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileJon Cortez
 
What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2Joseph Labrecque
 
Mobile architecture options
Mobile architecture optionsMobile architecture options
Mobile architecture optionsjohnsprunger
 
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSCordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSGabriel Huecas
 
Flash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentFlash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentRyan Stewart
 
Phonegap
PhonegapPhonegap
PhonegapTim Kim
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen developmenteaselsolutions
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app developmentChamil Madusanka
 
Mobile Drupal
Mobile DrupalMobile Drupal
Mobile DrupalTwinbit
 
Flash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentFlash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentMihai Corlan
 
Cross platform mobile applications - Touch Tour Chennai
Cross platform mobile applications - Touch Tour ChennaiCross platform mobile applications - Touch Tour Chennai
Cross platform mobile applications - Touch Tour ChennaiRIA RUI Society
 
Salesforce Developer Garage Seattle: Force.com Canvas
Salesforce Developer Garage Seattle: Force.com CanvasSalesforce Developer Garage Seattle: Force.com Canvas
Salesforce Developer Garage Seattle: Force.com CanvasSalesforce Developers
 

Tendances (20)

HTML5를 활용한 하이브리드 앱개발하기
HTML5를 활용한 하이브리드 앱개발하기HTML5를 활용한 하이브리드 앱개발하기
HTML5를 활용한 하이브리드 앱개발하기
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
Adobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBookAdobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBook
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGap
 
Introduction to Adobe Shadow
Introduction to Adobe ShadowIntroduction to Adobe Shadow
Introduction to Adobe Shadow
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileBuilding Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
 
What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2
 
Mobile architecture options
Mobile architecture optionsMobile architecture options
Mobile architecture options
 
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSSCordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
 
Hybrid mobile apps
Hybrid mobile appsHybrid mobile apps
Hybrid mobile apps
 
Flash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentFlash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen Development
 
Phonegap
PhonegapPhonegap
Phonegap
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen development
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Mobile Drupal
Mobile DrupalMobile Drupal
Mobile Drupal
 
Flash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentFlash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile development
 
Native vs. Hybrid Apps
Native vs. Hybrid AppsNative vs. Hybrid Apps
Native vs. Hybrid Apps
 
Cross platform mobile applications - Touch Tour Chennai
Cross platform mobile applications - Touch Tour ChennaiCross platform mobile applications - Touch Tour Chennai
Cross platform mobile applications - Touch Tour Chennai
 
Salesforce Developer Garage Seattle: Force.com Canvas
Salesforce Developer Garage Seattle: Force.com CanvasSalesforce Developer Garage Seattle: Force.com Canvas
Salesforce Developer Garage Seattle: Force.com Canvas
 

Similaire à Develop mobile applications with Flex

Develop multi-screen applications with Flex
Develop multi-screen applications with Flex Develop multi-screen applications with Flex
Develop multi-screen applications with Flex Codemotion
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile developmentMichael Chaize
 
Xebia adobe flash mobile applications
Xebia adobe flash mobile applicationsXebia adobe flash mobile applications
Xebia adobe flash mobile applicationsMichael Chaize
 
Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011Michael Chaize
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash PlatformMihai Corlan
 
Breizh camp adobe flex et les mobiles
Breizh camp   adobe flex et les mobilesBreizh camp   adobe flex et les mobiles
Breizh camp adobe flex et les mobilesMichael Chaize
 
Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform javaCh'ti JUG
 
Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform javaMichael Chaize
 
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog CcFlex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog CcFrançois Le Droff
 
Flash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex babyFlash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex babyMichael Chaize
 
Flash Applications For Mobile
Flash Applications For MobileFlash Applications For Mobile
Flash Applications For MobileSerge Jespers
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air IntroJUG Genova
 
Flex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUGFlex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUGMichael Chaize
 
Creating Flash Content for Mobile Devices
Creating Flash Content for Mobile DevicesCreating Flash Content for Mobile Devices
Creating Flash Content for Mobile Devicespaultrani
 

Similaire à Develop mobile applications with Flex (20)

Develop multi-screen applications with Flex
Develop multi-screen applications with Flex Develop multi-screen applications with Flex
Develop multi-screen applications with Flex
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
 
Xebia adobe flash mobile applications
Xebia adobe flash mobile applicationsXebia adobe flash mobile applications
Xebia adobe flash mobile applications
 
Flex mobile for JUG
Flex mobile for JUGFlex mobile for JUG
Flex mobile for JUG
 
Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
Breizh camp adobe flex et les mobiles
Breizh camp   adobe flex et les mobilesBreizh camp   adobe flex et les mobiles
Breizh camp adobe flex et les mobiles
 
Jax 2011 keynote
Jax 2011 keynoteJax 2011 keynote
Jax 2011 keynote
 
Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform java
 
Adobe flash platform java
Adobe flash platform javaAdobe flash platform java
Adobe flash platform java
 
MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«
 
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog CcFlex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
 
Flash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex babyFlash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex baby
 
Flash Applications For Mobile
Flash Applications For MobileFlash Applications For Mobile
Flash Applications For Mobile
 
Montpellier - Flex UG
Montpellier - Flex UGMontpellier - Flex UG
Montpellier - Flex UG
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air Intro
 
Jax2001 adobe keynote
Jax2001 adobe keynoteJax2001 adobe keynote
Jax2001 adobe keynote
 
Flex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUGFlex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUG
 
Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01
 
Creating Flash Content for Mobile Devices
Creating Flash Content for Mobile DevicesCreating Flash Content for Mobile Devices
Creating Flash Content for Mobile Devices
 

Plus de ConFoo

Debugging applications with network security tools
Debugging applications with network security toolsDebugging applications with network security tools
Debugging applications with network security toolsConFoo
 
The business behind open source
The business behind open sourceThe business behind open source
The business behind open sourceConFoo
 
Security 202 - Are you sure your site is secure?
Security 202 - Are you sure your site is secure?Security 202 - Are you sure your site is secure?
Security 202 - Are you sure your site is secure?ConFoo
 
OWASP Enterprise Security API
OWASP Enterprise Security APIOWASP Enterprise Security API
OWASP Enterprise Security APIConFoo
 
Opensource Authentication and Authorization
Opensource Authentication and AuthorizationOpensource Authentication and Authorization
Opensource Authentication and AuthorizationConFoo
 
Introduction à la sécurité des WebServices
Introduction à la sécurité des WebServicesIntroduction à la sécurité des WebServices
Introduction à la sécurité des WebServicesConFoo
 
Le bon, la brute et le truand dans les nuages
Le bon, la brute et le truand dans les nuagesLe bon, la brute et le truand dans les nuages
Le bon, la brute et le truand dans les nuagesConFoo
 
The Solar Framework for PHP
The Solar Framework for PHPThe Solar Framework for PHP
The Solar Framework for PHPConFoo
 
Décrire un projet PHP dans des rapports
Décrire un projet PHP dans des rapportsDécrire un projet PHP dans des rapports
Décrire un projet PHP dans des rapportsConFoo
 
Server Administration in Python with Fabric, Cuisine and Watchdog
Server Administration in Python with Fabric, Cuisine and WatchdogServer Administration in Python with Fabric, Cuisine and Watchdog
Server Administration in Python with Fabric, Cuisine and WatchdogConFoo
 
Marrow: A Meta-Framework for Python 2.6+ and 3.1+
Marrow: A Meta-Framework for Python 2.6+ and 3.1+Marrow: A Meta-Framework for Python 2.6+ and 3.1+
Marrow: A Meta-Framework for Python 2.6+ and 3.1+ConFoo
 
Think Mobile First, Then Enhance
Think Mobile First, Then EnhanceThink Mobile First, Then Enhance
Think Mobile First, Then EnhanceConFoo
 
Metaprogramming in Ruby
Metaprogramming in RubyMetaprogramming in Ruby
Metaprogramming in RubyConFoo
 
Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101ConFoo
 
As-t-on encore besoin d'un framework web ?
As-t-on encore besoin d'un framework web ?As-t-on encore besoin d'un framework web ?
As-t-on encore besoin d'un framework web ?ConFoo
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to GitConFoo
 
Building servers with Node.js
Building servers with Node.jsBuilding servers with Node.js
Building servers with Node.jsConFoo
 
An Overview of Flash Storage for Databases
An Overview of Flash Storage for DatabasesAn Overview of Flash Storage for Databases
An Overview of Flash Storage for DatabasesConFoo
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump StartConFoo
 
WordPress pour le développement d'aplications web
WordPress pour le développement d'aplications webWordPress pour le développement d'aplications web
WordPress pour le développement d'aplications webConFoo
 

Plus de ConFoo (20)

Debugging applications with network security tools
Debugging applications with network security toolsDebugging applications with network security tools
Debugging applications with network security tools
 
The business behind open source
The business behind open sourceThe business behind open source
The business behind open source
 
Security 202 - Are you sure your site is secure?
Security 202 - Are you sure your site is secure?Security 202 - Are you sure your site is secure?
Security 202 - Are you sure your site is secure?
 
OWASP Enterprise Security API
OWASP Enterprise Security APIOWASP Enterprise Security API
OWASP Enterprise Security API
 
Opensource Authentication and Authorization
Opensource Authentication and AuthorizationOpensource Authentication and Authorization
Opensource Authentication and Authorization
 
Introduction à la sécurité des WebServices
Introduction à la sécurité des WebServicesIntroduction à la sécurité des WebServices
Introduction à la sécurité des WebServices
 
Le bon, la brute et le truand dans les nuages
Le bon, la brute et le truand dans les nuagesLe bon, la brute et le truand dans les nuages
Le bon, la brute et le truand dans les nuages
 
The Solar Framework for PHP
The Solar Framework for PHPThe Solar Framework for PHP
The Solar Framework for PHP
 
Décrire un projet PHP dans des rapports
Décrire un projet PHP dans des rapportsDécrire un projet PHP dans des rapports
Décrire un projet PHP dans des rapports
 
Server Administration in Python with Fabric, Cuisine and Watchdog
Server Administration in Python with Fabric, Cuisine and WatchdogServer Administration in Python with Fabric, Cuisine and Watchdog
Server Administration in Python with Fabric, Cuisine and Watchdog
 
Marrow: A Meta-Framework for Python 2.6+ and 3.1+
Marrow: A Meta-Framework for Python 2.6+ and 3.1+Marrow: A Meta-Framework for Python 2.6+ and 3.1+
Marrow: A Meta-Framework for Python 2.6+ and 3.1+
 
Think Mobile First, Then Enhance
Think Mobile First, Then EnhanceThink Mobile First, Then Enhance
Think Mobile First, Then Enhance
 
Metaprogramming in Ruby
Metaprogramming in RubyMetaprogramming in Ruby
Metaprogramming in Ruby
 
Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101
 
As-t-on encore besoin d'un framework web ?
As-t-on encore besoin d'un framework web ?As-t-on encore besoin d'un framework web ?
As-t-on encore besoin d'un framework web ?
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to Git
 
Building servers with Node.js
Building servers with Node.jsBuilding servers with Node.js
Building servers with Node.js
 
An Overview of Flash Storage for Databases
An Overview of Flash Storage for DatabasesAn Overview of Flash Storage for Databases
An Overview of Flash Storage for Databases
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump Start
 
WordPress pour le développement d'aplications web
WordPress pour le développement d'aplications webWordPress pour le développement d'aplications web
WordPress pour le développement d'aplications web
 

Dernier

Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 

Dernier (20)

Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 

Develop mobile applications with Flex

  • 1. Develop mobile applications with Flex Michaël Chaize | Flash Platform Evangelist © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 2. Menu du jour Flex & Flash on mobile Live coding for Android Mobile APIs Flex, Java and Real-time Resources 2 ©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 3. Adobe Flex © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 3
  • 4. Adobe Flex basics Flash Builder IDE Browser Flex SDK Flash Player MXML ActionScript Flex Class Library SOAP HTTP/S AMF/S RTMP/S Web Server Compile XML/HTTP Adobe Data Services REST SOAP Web Services J2EE Application Server Existing Applications & Infrastructure © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 4
  • 5. FLEX FRAMEWORK 3 OLD COMPONENT MODEL Component / Skin Graphics Layout Animation Parts States Behavior Logic Data
  • 6. FLEX FRAMEWORK 4 SPARK COMPONENT MODEL ActionScript MXML Component Skin Graphics Behavior Layout Animation Logic CSS properties Parts Data States
  • 7. First-class interfaces ©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 9. Open Screen Project Technologic partners Content providers © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 10. Flash Player 10.1 Flash Player 10.1 Google TV © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 11. Adobe AIR 2.5 = native applications = multiple screens © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 12. Native Applications Native Native Native Native Native Native App App App App App App iOS ? © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 13. Abstraction Layer Flex Application Adobe runtimes (Flash & AIR) iOS ? 2011 READY READY soon soon © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 14. Flex “Hero” © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 15. Mobile Applications in "Hero" s:Application s:MobileApplication s:TabbedMobileApplication © 2010 Adobe Systems Incorporated. All Rights Reserved. 15
  • 16. <s:MobileApplication> life cycle views.ListEmployees views.DetailsEmployee views.ListEmployees view destroyed view created view destroyed view created “BACK” bu on DATA subset DATA persisted in memory © 2010 Adobe Systems Incorporated. All Rights Reserved. 16
  • 17. ActionBar navigationContent titleContent actionContent <s:View xmlns:fx=http://ns.adobe.com/mxml/2009 … title=”Expenses"> <s:navigationContent> <s:Button icon="@Embed('assets/home.png')"/> </s:navigationContent> <s:actionContent> <s:Button label=”+"/> </s:actionContent> </s:View> © 2010 Adobe Systems Incorporated. All Rights Reserved. 17 3
  • 18. Components that have Mobile Skins § Button § CheckBox § DataGroup § Group/HGroup/VGroup/TileGroup § Image/BitmapImage § Label List § RadioButton/RadioButtonGroup § Scroller § TextArea § TextInput © 2010 Adobe Systems Incorporated. All Rights Reserved. 18
  • 19. Mobile APIs © 2010 Adobe Systems Incorporated. All Rights Reserved. 19
  • 20. GEO APIs § Android Permission Required: <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> § Geolocation.isSupported § g.addEventListener(GeolocationEvent.UPDATE, callbackFunction); § GeolocationEvent: § altitude § heading § horizontalAccuracy § latitude § longitude § speed § timestamp § verticalAccuracy © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 21. Accelerometer APIs § Accelerometer.isSupported § a.addEventListener(AccelerometerEvent.UPDATE, callbackFunction); § AccelerometerEvent: § accelerationX § accelerationY § accelerationZ § timestamp © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 22. Multi-Touch APIs § Android manifest change: <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/> § Gesture OR Multitouch --- Multitouch.inputMode MultitouchInputMode.GESTURE § MultitouchInputMode.TOUCH_POINT § TransformGestureEvent § TouchEvent § GESTURE_PAN § TOUCH_BEGIN § GESTURE_ROTATE § TOUCH_END § GESTURE_SWIPE § TOUCH_MOVE § GESTURE_ZOOM § TOUCH_OUT § GestureEvent.GESTURE_TWO_FINGER_TAP § TOUCH_OVER § PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP § TOUCH_ROLL_OUT § § TOUCH_ROLL_OVER § TOUCH_TAP © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 23. Remote Data § Android Permission Required: <uses-permission android:name="android.permission.INTERNET"/> § Standard Flex Networking Libraries: § HTTPService § WebService § RemoteObject © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 24. Full Screen & Orientation § stage.displayState = StageDisplayState.NORMAL § stage.displayState = StageDisplayState.FULL_SCREEN § stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE § StageOrientationEvent: stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, callbackFunction); § foo-app.xml: <initialWindow> <autoOrients>true</autoOrients> © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 25. Camera Access § Camera - Raw camera feed <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" android:required="true"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> <uses-feature android:name="android.hardware.camera.flash" android:required="false"/> § CameraUI - Native Camera App var cameraUI:CameraUI = new CameraUI(); cameraUI.launch(MediaType.IMAGE); § CameraRoll - Choose photos from the device's camera roll var cameraRoll:CameraRoll = new CameraRoll(); cameraRoll.browseForImage(); cameraRoll.addBitmapData(bd); © 2010 Adobe Systems Incorporated. All Rights Reserved. 25
  • 26. Native App Integration § Open Email, Browser, Maps, Phone, or SMS § navigateToURL(new URLRequest('mailto:foo@bar.com')); § navigateToURL(new URLRequest('http://www.jamesward.com')); § navigateToURL(new URLRequest('http://maps.google.com/')); § navigateToURL(new URLRequest('tel:1234567890')); § navigateToURL(new URLRequest('sms:1234567890')); © 2010 Adobe Systems Incorporated. All Rights Reserved. 26
  • 27. Local DB APIs § SQLite - Nothing different than AIR for the Desktop § SQLConnection § Sync and/or Async connections § SQLStatement § Prepared Statements: var stmt:SQLStatement = new SQLStatement(); stmt.sqlConnection = FlexGlobals.topLevelApplication['sqlConnection']; stmt.text = "INSERT into giberish values(:giberish)"; stmt.parameters[":giberish"] = g.text; stmt.execute(); © 2010 Adobe Systems Incorporated. All Rights Reserved.
  • 28. StageWebView § Requires Android INTERNET permission: <uses-permission android:name="android.permission.INTERNET" /> § WebStageView.isSupported var swv:StageWebView = new StageWebView(); swv.viewPort = new Rectangle(0, stage.height - height, width, height); swv.stage = stage; swv.loadURL("http://www.riagora.com"); © 2010 Adobe Systems Incorporated. All Rights Reserved. 28
  • 29. Mobile applications + JAVA = REAL-TIME © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 29
  • 30. IN-CONTEXT COLLABORATION LiveCycle Collaboration Service Webcam Chat Shared Form
  • 31. LiveCycle Collaboration Service Multi-user collaboration in real time § Engage more effectively through a web presence enhanced with real-time collaboration tools. § Integrate text chat, whiteboard functionality, webcam video, and audio into any rich Internet application (RIA), Major Capabilities Peer-to-peer (P2P) streaming of data, audio and video HTTP server-to-server APIs Private audio/video streaming Server-side provisioning of services Large Rooms – via on-demand loading of user Audio/video application multicast presence Record and Playback Screen sharing JavaScript APIs – integration with a customer’s exist ting websites © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 31 All external content and images pending approvals.
  • 32. LiveCycle Data Services today Flex Client Flex Client Flex Client LCDS Java Classes Thing1.class Thing2.class Thing3.class © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 32
  • 33. LiveCycle Data Services tomorrow (2011) HTML5/JS Client Java Client Flex Client Flex Client Flex Client Android Client ObjC Client .NET Adapter Remoting Messaging Data Mgmt IIS Plugin .NET Remoting LCDS .NET Adapter Messaging MSMQ Messaging NET Java Classes .NET C# Classes Thing1.class Thing1.dll ??.??? Thing2.class Thing2.dll ??.??? Thing3.class Thing3.dll ??.??? © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 33
  • 34. Publish/Subscribe Messaging LiveCycle DS / Blaze DS §Client A Message Endpoint Service §Client B §RTMP §Client C §AMF Publisher §HTTP Subscriber © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 35. Data Push - Messaging LiveCycle DS / Blaze DS Messaging Adapter X System X Message JMS Endpoint JMS Adapter Services Provider Messaging Adapter Y System Y §RTMP §AMF Publisher §HTTP Subscriber © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 36. Data Push - Messaging public static class GPSThread extends Thread { public boolean running = true; public void run() { MessageBroker msgBroker = MessageBroker.getMessageBroker(null); String clientID = UUIDUtils.createUUID(); while (running) { double change = gpsService.getCurrentPosition(); AsyncMessage msg = new AsyncMessage(); msg.setDestination("feed"); msg.setClientId(clientID); msg.setMessageId(UUIDUtils.createUUID()); msg.setTimestamp(System.currentTimeMillis()); msg.setBody(new Double(change)); msgBroker.routeMessageToService(msg, null); try { Thread.sleep(300); } catch (InterruptedException e) { } © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 37. Michaël Chaize & resources RIAgora.com Flex.org labs.adobe.com developer.adobe.com @mchaize Tour de Mobile Flex © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 37
  • 38. © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 39. Bar Chart Try to use neutral colors for most chart elements, and highlight elements of interest with bright colors 5.0 3.8 Series 1 2.5 Series 2 Series 3 1.3 0 Category 1 Category 2 Category 3 Category 4 © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 39
  • 40. Pie Chart Try to use neutral colors for most chart elements, and highlight elements of interest with bright colors Sales 1st Qtr 2nd Qtr 3rd Qtr 4th Qtr © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 40
  • 41. Gray Content Area Layout For use with full-screen images or diagrams that look good on gray © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 41
  • 42. Black Content Area Layout For use with full-screen images or diagrams that look good on black © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 42
  • 43. Color Palette Dynamic Note The Adobe corporate color palette has been incorporated into this presentation template. R - 255 R – 251 R - 255 R - 193 R-0 R - 131 G-0 G - 176 G - 221 G - 216 G - 164 G - 72 B-0 B - 52 B-0 B - 47 B - 228 B - 181 Refer to the Corporate Brand Guidelines, found on Brand Center for more guidance on using this color palette Neutral www.adobe.com/brandecenter R - 218 R - 172 R - 107 R - 228 R - 192 R - 136 G - 221 G - 179 G - 115 G - 223 G - 181 G - 120 B – 224 B - 185 B - 123 B - 217 B - 169 B - 104 © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.