SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
Android Mobile Development &                   e Flash Platform
      Mihai Corlan | Developer Evangelist | h p://corlan.org




© 2011 Adobe Systems Incorporated.
About Me

  §    Adobe Worldwide Developer Evangelist (since 2008)
  §    Flash Builder Engineer 2006-2008
  §    Web Developer 2000 - 2006
  §    Blog: h p://corlan.org
  §    Twi er: h p://twi er.com/mcorlan
  §    Email: mihai.corlan@adobe.com




© 2011 Adobe Systems Incorporated.
   2
Agenda

  §    Adobe Flash Platform and mobile devices
  §    Examples of Android Apps created using AIR
  §    Code and Work ows – Flex and AIR




© 2011 Adobe Systems Incorporated.
What’s Multi-Screen Revolution Anyway?




                                     Internet




© 2011 Adobe Systems Incorporated.
Multi-screen and Adobe AIR




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




© 2011 Adobe Systems Incorporated.
Multi-screen and Adobe AIR



           Flex / ActionScript




            Adobe AIR




© 2011 Adobe Systems Incorporated.
Android




© 2011 Adobe Systems Incorporated.
AIR apps for Android

  §    RIA / Connected Apps / Video
  §    Enterprise Apps
  §    Remote Controls Apps for Desktop Apps
  §    Games




  More than 1,000 apps built using Adobe AIR are available on Android Market:
  h p://www.appbrain.com/apps/popular/adobe-air/

© 2011 Adobe Systems Incorporated.
Examples of AIR for Android Applications




© 2011 Adobe Systems Incorporated.
e Flash Platform

       Applications, Content and Video




          Tools to Design and Develop                     Framework        Clients            Services                Servers




        Adobe® Flash® CS5 Adobe® Flash® Builder™          Adobe® Flex ®   Adobe® AIR®        Adobe® Flash®        Adobe® Flash® Media
          Professional         “Burrito”                     “Hero”          2.6           Platform Services         Server Family




                             Adobe® Flash®                                Adobe® Flash®    Adobe® LiveCycle®       Adobe® LiveCycle®
                               Catalyst™                                     Player       Collaboration Service      Data Services
                               “Panini”                                       10.2


                                                             Integrating with
                                                           the Flash Platform
           Creative Suite 5          ColdFusion Builder
© 2011 Adobe Systems Incorporated.
How do you build AIR Apps for Android?




                       Adobe AIR SDK                             Flex “Hero”




     LiveCycle                                                                 LiveCycle
    Collaboration                                                                 Data
       Service                                                                  Services
                                       Flash Builder “Burrito”

© 2011 Adobe Systems Incorporated.
e Flex “Hero” 4.5 framework and ActionScript

§    An open source framework of ActionScript classes
§    Rich library of UI components
§    Other “utilities” that speed up app development
      (services, validators, data binding, layout managers, …)
§    MXML – a declarative language for quickly layout your app




                                                                  Flex “Hero”




 © 2011 Adobe Systems Incorporated.
Tools – Flash Builder “Burrito” 4.5

  §    Eclipse based IDE for Flex and ActionScript development
  §    Support for design view and local testing
  §    Support for packaging the app as an APK le
  §    Deploy the app to connected Android devices
  §    Debugging the app on the device or desktop simulator




                                                                  Flash Builder


  Download from h p://labs.adobe.com
  Free for educational / 60-day trial period

© 2011 Adobe Systems Incorporated.
AIR APIs on Android

  §    Camera and Microphone access
  §    Accelerometer
  §    GPS
  §    Multitouch/Gestures
  §    Screen Orientation / Fullscreen
  §    Phone/SMS/Email/Browser/Android Market
  §    Camera (Including Camera Roll Support) & Mic
  §    StageWebView
                                                       Adobe AIR
  §    Session Cache Support – Restore App State
  §    Hardware Bu ons Support
  §    Local database (SQLite)
  §    …
© 2011 Adobe Systems Incorporated.
Live Coding – a simple AIR App for Android




© 2011 Adobe Systems Incorporated.
Se ing Android Permissions




© 2011 Adobe Systems Incorporated.
Se ing Android Permissions

   Use Application Descriptor File -> AndroidManifest.xml le



                         <android><manifestAdditions><![CDATA[

                                      <manifest android:installLocation="auto">
                                      <uses-permission android:name="android.permission.INTERNET"/>

                                      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

                                      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

                                      <uses-permission android:name="android.permission.WAKE_LOCK" />

                                      <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>

                         </manifest>]]></manifestAdditions>

                         </android>




© 2011 Adobe Systems Incorporated.
Options for Building Mobile AIR Apps using Burrito

  §    ActionScript Mobile Project (no MXML)
  §    Flex Mobile Project:
        §    Blank – s:Application
        §    Mobile Project - s:MobileApplication
        §    Mobile Project – s:TabbedMobileApplication




© 2011 Adobe Systems Incorporated.
MobileApplication vs. TabbedMobileApplication




© 2011 Adobe Systems Incorporated.
Flex Mobile Components

  Screen Metaphor

                             Application First Screen   Second Screen




© 2011 Adobe Systems Incorporated.
Flex Mobile Components - ViewNavigator

  Using Flex’s s:MobileApplication or s:TabbedMobileApplication you get screen
  management for free


  §    navigator.push(NewScreen, data)    - add new screen
  §    navigator.popView()                - go to previous screen
  §    navigator. popToFirstView()        - go to rst view
  §    navigator.activeView               - retrieve active view




© 2011 Adobe Systems Incorporated.
Architecture of Flex Mobile App


                                     MobileApplication
 Support for
 screen navigation;
                                     ViewNavigator
 Application persistence
 between sessions
                                       ActionBar




                                          View


   Application UI:
   - screens/lists/bu ons/titles



© 2011 Adobe Systems Incorporated.
View Lifecycle



                                                        ?

                                     Another           Data
        View
                                      View


                                                     Destroyed
              Created
             Destroyed                Destroyed
                                       Created


                                                  data = yourData;
                                                  destructionPolicy =”none"




© 2011 Adobe Systems Incorporated.
View and ActionBar Components

                                     Hide the Action Bar:
                                     actionBarVisible = false;

                                     Overlay the Action Bar:
                                     overlayControls = true;




© 2011 Adobe Systems Incorporated.
Mobile Components

   §    Bu on                       Touch Enabled
   §    CheckBox                    Mobile Skins: ActionScript
   §    RadioBu on                  based skins and FXG
   §    TextInput                   Other components will come
   §    TextArea
   §    List
   §    ScrollBar




© 2011 Adobe Systems Incorporated.
Lists and Item Renderers




   MobileItemRenderer                     MobileIconItemRenderer


   <s:MobileItemRenderer label="Beer"/>   <s:MobileIconItemRenderer
                                             labelField="label"
                                             messageField="message"
                                             iconField="icon"
                                             decoratorClass="phoneIcon"/>




© 2011 Adobe Systems Incorporated.
Splash Screen




          <s:MobileApplication
                  splashScreenImage="@Embed(source='assets/splash-screen.png')"

© 2011 Adobe Systems Incorporated.
Helper Apps for Mobile Development

         Tour de Mobile Flex           Adobe AIR Launchpad




            Android AIR App            AIR app for Desktop



© 2011 Adobe Systems Incorporated.
What’s Next?

  §    3D APIs GPU Accelerated for Flash Player & AIR on desktop and mobiles
        (Direct3D 9 and OpenGL ES)
  §    Native extensions for AIR for Android
  §    Extending Flex “Hero” to iOS and BlackBerry Tablet OS




© 2011 Adobe Systems Incorporated.
Resources

  §    MP3 Remote Control for Android:
        h p://corlan.org/2010/07/02/creating-multi-screen-apps-for-android-and-desktop-
        using-air/
  §    LiveCycle Collaboration Service showcase for Android tablets:
        h p://www.riagora.com/2011/03/lccs-showcase-on-your-tablet/
  §    Mobile development with Flash Builder Burrito and Hero:
        h p://www.adobe.com/devnet/ ex/articles/mobile_development_hero_burrito.html
  §    Ge ing Flash Builder “Burrito”:
        h p://labs.adobe.com
  §    Tour de Mobile Flex:
        h p:// ex.org/tourmobile
  §    MAX 2010 Sessions Recordings (Channels > MAX 2010):
        h p://tv.adobe.com




© 2011 Adobe Systems Incorporated.
ank You!
                                        h p://corlan.org
                                     mihai.corlan@adobe.com




© 2011 Adobe Systems Incorporated.
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, the Adobe PDF logo, AIR, ColdFusion, ColdFusion Builder, Flash, Flash Builder, the Flash logo, Flex, LiveCycle, and Reader are eithe
                        registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective owners.
                        © 2010 Adobe Systems Incorporated. All rights reserved. Printed in the USA. 9102xxxx 3/10


Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, ActionScript, AIR, Flash, Flash Builder, Flash Catalyst, the Flash logo, Flex, and LiveCycle are either registered trademarks or trademarks of Adobe
Systems Incorporated in the United States and/or other countries. Microso and Windows are either registered trademarks or trademarks of Microso Corporation in the United States and/or other
countries. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Printed in the USA. 91023957 3/10

© 2011 Adobe Systems Incorporated.
Agenda



                                     Flash Platform




                                                      Mobile
                                                      Apps




© 2011 Adobe Systems Incorporated.

Weitere ähnliche Inhalte

Was ist angesagt?

Kony Mobile Management
Kony Mobile ManagementKony Mobile Management
Kony Mobile ManagementDipesh Mukerji
 
Kony Development Cloud
Kony Development CloudKony Development Cloud
Kony Development CloudDipesh Mukerji
 
Adobe gaming flash gamm michael
Adobe gaming flash gamm michaelAdobe gaming flash gamm michael
Adobe gaming flash gamm michaelMichael Chaize
 
Kony - The multi Channel Challenge
Kony - The multi Channel Challenge Kony - The multi Channel Challenge
Kony - The multi Channel Challenge mickeyheil
 
Kony Mobile App Mgmt
Kony Mobile App MgmtKony Mobile App Mgmt
Kony Mobile App MgmtJim Porter
 
Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011Michael Chaize
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile developmentMichael Chaize
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidMichael Chaize
 
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
 
Using design pattern for mobile
Using design pattern for mobileUsing design pattern for mobile
Using design pattern for mobileluca mezzalira
 
webinos and Open Ecosystems Open Governance
webinos and Open Ecosystems Open Governancewebinos and Open Ecosystems Open Governance
webinos and Open Ecosystems Open Governancewebinos project
 
Fatc - Productivity by Design
Fatc - Productivity by DesignFatc - Productivity by Design
Fatc - Productivity by DesignMichael Chaize
 
Adobe Flash platform の法人利用
Adobe Flash platform の法人利用Adobe Flash platform の法人利用
Adobe Flash platform の法人利用Keisuke Todoroki
 
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
 
Kony one studio technical training
Kony one studio technical trainingKony one studio technical training
Kony one studio technical trainingNiranjan Kumar Reddy
 
Kony - End-to-End Proof of Technology
Kony - End-to-End Proof of TechnologyKony - End-to-End Proof of Technology
Kony - End-to-End Proof of TechnologyDipesh Mukerji
 

Was ist angesagt? (20)

Kony Mobile Management
Kony Mobile ManagementKony Mobile Management
Kony Mobile Management
 
Kony Development Cloud
Kony Development CloudKony Development Cloud
Kony Development Cloud
 
Adobe gaming flash gamm michael
Adobe gaming flash gamm michaelAdobe gaming flash gamm michael
Adobe gaming flash gamm michael
 
Kony - The multi Channel Challenge
Kony - The multi Channel Challenge Kony - The multi Channel Challenge
Kony - The multi Channel Challenge
 
Flex mobile for JUG
Flex mobile for JUGFlex mobile for JUG
Flex mobile for JUG
 
Kony Mobile App Mgmt
Kony Mobile App MgmtKony Mobile App Mgmt
Kony Mobile App Mgmt
 
Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for Android
 
Develop multi-screen applications with Flex
Develop multi-screen applications with Flex Develop multi-screen applications with Flex
Develop multi-screen applications with Flex
 
Using design pattern for mobile
Using design pattern for mobileUsing design pattern for mobile
Using design pattern for mobile
 
Montpellier - Flex UG
Montpellier - Flex UGMontpellier - Flex UG
Montpellier - Flex UG
 
webinos and Open Ecosystems Open Governance
webinos and Open Ecosystems Open Governancewebinos and Open Ecosystems Open Governance
webinos and Open Ecosystems Open Governance
 
Fatc - Productivity by Design
Fatc - Productivity by DesignFatc - Productivity by Design
Fatc - Productivity by Design
 
Mobile hig
Mobile higMobile hig
Mobile hig
 
Adobe Flash platform の法人利用
Adobe Flash platform の法人利用Adobe Flash platform の法人利用
Adobe 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
 
Kony one studio technical training
Kony one studio technical trainingKony one studio technical training
Kony one studio technical training
 
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«
 
Kony - End-to-End Proof of Technology
Kony - End-to-End Proof of TechnologyKony - End-to-End Proof of Technology
Kony - End-to-End Proof of Technology
 

Ähnlich wie Android Development with Flash Platform

Xebia adobe flash mobile applications
Xebia adobe flash mobile applicationsXebia adobe flash mobile applications
Xebia adobe flash mobile applicationsMichael Chaize
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile developmentMihai Corlan
 
Develop mobile applications with Flex
Develop mobile applications with FlexDevelop mobile applications with Flex
Develop mobile applications with FlexConFoo
 
Mobile Development With Flash Platform
Mobile Development With Flash PlatformMobile Development With Flash Platform
Mobile Development With Flash PlatformMihai Corlan
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen developmenteaselsolutions
 
From Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensFrom Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensJoseph Labrecque
 
Introduction to Flex Hero for Mobile Devices
Introduction to Flex Hero for Mobile DevicesIntroduction to Flex Hero for Mobile Devices
Introduction to Flex Hero for Mobile DevicesRyan Stewart
 
Keeping Current with ColdFusion - Adobe Max 2011
Keeping Current with ColdFusion - Adobe Max 2011Keeping Current with ColdFusion - Adobe Max 2011
Keeping Current with ColdFusion - Adobe Max 2011Rupesh Kumar
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for DevicesSerge Jespers
 
Making Money with Adobe AIR
Making Money with Adobe AIRMaking Money with Adobe AIR
Making Money with Adobe AIRAlmog Koren
 
Getting started with flash mobile development
Getting started with flash mobile developmentGetting started with flash mobile development
Getting started with flash mobile developmentMihai Corlan
 
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
 
Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Sanjeev Kumar
 
IBM Worklight - Technical Overview
IBM Worklight - Technical OverviewIBM Worklight - Technical Overview
IBM Worklight - Technical OverviewIIC_Barcelona
 
Multiscreen Development with Adobe Air
Multiscreen Development with Adobe AirMultiscreen Development with Adobe Air
Multiscreen Development with Adobe Aireaselsolutions
 

Ähnlich wie Android Development with Flash Platform (20)

Xebia adobe flash mobile applications
Xebia adobe flash mobile applicationsXebia adobe flash mobile applications
Xebia adobe flash mobile applications
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
 
Develop mobile applications with Flex
Develop mobile applications with FlexDevelop mobile applications with Flex
Develop mobile applications with Flex
 
Mobile Development With Flash Platform
Mobile Development With Flash PlatformMobile Development With Flash Platform
Mobile Development With Flash Platform
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen development
 
W-JAX Keynote 2010
W-JAX Keynote 2010W-JAX Keynote 2010
W-JAX Keynote 2010
 
Flex User Group breton
Flex User Group bretonFlex User Group breton
Flex User Group breton
 
From Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensFrom Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small Screens
 
Introduction to Flex Hero for Mobile Devices
Introduction to Flex Hero for Mobile DevicesIntroduction to Flex Hero for Mobile Devices
Introduction to Flex Hero for Mobile Devices
 
Keeping Current with ColdFusion - Adobe Max 2011
Keeping Current with ColdFusion - Adobe Max 2011Keeping Current with ColdFusion - Adobe Max 2011
Keeping Current with ColdFusion - Adobe Max 2011
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
 
Making Money with Adobe AIR
Making Money with Adobe AIRMaking Money with Adobe AIR
Making Money with Adobe AIR
 
Getting started with flash mobile development
Getting started with flash mobile developmentGetting started with flash mobile development
Getting started with flash mobile development
 
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
 
Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First
 
IBM Worklight - Technical Overview
IBM Worklight - Technical OverviewIBM Worklight - Technical Overview
IBM Worklight - Technical Overview
 
Flex3
Flex3Flex3
Flex3
 
Multiscreen Development with Adobe Air
Multiscreen Development with Adobe AirMultiscreen Development with Adobe Air
Multiscreen Development with Adobe Air
 
Worklight Overview
Worklight OverviewWorklight Overview
Worklight Overview
 
Adobe Flex
Adobe FlexAdobe Flex
Adobe Flex
 

Mehr von Mihai Corlan

PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013Mihai Corlan
 
Adobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe CampAdobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe CampMihai Corlan
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampMihai Corlan
 
Introduction to Adobe Brackets
Introduction to Adobe BracketsIntroduction to Adobe Brackets
Introduction to Adobe BracketsMihai Corlan
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGapMihai Corlan
 
Introduction to Adobe Shadow
Introduction to Adobe ShadowIntroduction to Adobe Shadow
Introduction to Adobe ShadowMihai Corlan
 
Debugging mobile websites and web apps
Debugging mobile websites and web appsDebugging mobile websites and web apps
Debugging mobile websites and web appsMihai Corlan
 
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
 
Adobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & TricksAdobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & TricksMihai Corlan
 

Mehr von Mihai Corlan (10)

PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013PhoneGap Session at Multi-Mania.be 2013
PhoneGap Session at Multi-Mania.be 2013
 
Adobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe CampAdobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe Camp
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
 
Introduction to Adobe Brackets
Introduction to Adobe BracketsIntroduction to Adobe Brackets
Introduction to Adobe Brackets
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
 
PhoneGap/Cordova
PhoneGap/CordovaPhoneGap/Cordova
PhoneGap/Cordova
 
Introduction to Adobe Shadow
Introduction to Adobe ShadowIntroduction to Adobe Shadow
Introduction to Adobe Shadow
 
Debugging mobile websites and web apps
Debugging mobile websites and web appsDebugging mobile websites and web apps
Debugging mobile websites and web apps
 
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
 
Adobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & TricksAdobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & Tricks
 

Kürzlich hochgeladen

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Kürzlich hochgeladen (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Android Development with Flash Platform

  • 1. Android Mobile Development & e Flash Platform Mihai Corlan | Developer Evangelist | h p://corlan.org © 2011 Adobe Systems Incorporated.
  • 2. About Me §  Adobe Worldwide Developer Evangelist (since 2008) §  Flash Builder Engineer 2006-2008 §  Web Developer 2000 - 2006 §  Blog: h p://corlan.org §  Twi er: h p://twi er.com/mcorlan §  Email: mihai.corlan@adobe.com © 2011 Adobe Systems Incorporated. 2
  • 3. Agenda §  Adobe Flash Platform and mobile devices §  Examples of Android Apps created using AIR §  Code and Work ows – Flex and AIR © 2011 Adobe Systems Incorporated.
  • 4. What’s Multi-Screen Revolution Anyway? Internet © 2011 Adobe Systems Incorporated.
  • 5. Multi-screen and Adobe AIR Native Native Native Native Native Native App App App App App App © 2011 Adobe Systems Incorporated.
  • 6. Multi-screen and Adobe AIR Flex / ActionScript Adobe AIR © 2011 Adobe Systems Incorporated.
  • 7. Android © 2011 Adobe Systems Incorporated.
  • 8. AIR apps for Android §  RIA / Connected Apps / Video §  Enterprise Apps §  Remote Controls Apps for Desktop Apps §  Games More than 1,000 apps built using Adobe AIR are available on Android Market: h p://www.appbrain.com/apps/popular/adobe-air/ © 2011 Adobe Systems Incorporated.
  • 9. Examples of AIR for Android Applications © 2011 Adobe Systems Incorporated.
  • 10. e Flash Platform Applications, Content and Video Tools to Design and Develop Framework Clients Services Servers Adobe® Flash® CS5 Adobe® Flash® Builder™ Adobe® Flex ® Adobe® AIR® Adobe® Flash® Adobe® Flash® Media Professional “Burrito” “Hero” 2.6 Platform Services Server Family Adobe® Flash® Adobe® Flash® Adobe® LiveCycle® Adobe® LiveCycle® Catalyst™ Player Collaboration Service Data Services “Panini” 10.2 Integrating with the Flash Platform Creative Suite 5 ColdFusion Builder © 2011 Adobe Systems Incorporated.
  • 11. How do you build AIR Apps for Android? Adobe AIR SDK Flex “Hero” LiveCycle LiveCycle Collaboration Data Service Services Flash Builder “Burrito” © 2011 Adobe Systems Incorporated.
  • 12. e Flex “Hero” 4.5 framework and ActionScript §  An open source framework of ActionScript classes §  Rich library of UI components §  Other “utilities” that speed up app development (services, validators, data binding, layout managers, …) §  MXML – a declarative language for quickly layout your app Flex “Hero” © 2011 Adobe Systems Incorporated.
  • 13. Tools – Flash Builder “Burrito” 4.5 §  Eclipse based IDE for Flex and ActionScript development §  Support for design view and local testing §  Support for packaging the app as an APK le §  Deploy the app to connected Android devices §  Debugging the app on the device or desktop simulator Flash Builder Download from h p://labs.adobe.com Free for educational / 60-day trial period © 2011 Adobe Systems Incorporated.
  • 14. AIR APIs on Android §  Camera and Microphone access §  Accelerometer §  GPS §  Multitouch/Gestures §  Screen Orientation / Fullscreen §  Phone/SMS/Email/Browser/Android Market §  Camera (Including Camera Roll Support) & Mic §  StageWebView Adobe AIR §  Session Cache Support – Restore App State §  Hardware Bu ons Support §  Local database (SQLite) §  … © 2011 Adobe Systems Incorporated.
  • 15. Live Coding – a simple AIR App for Android © 2011 Adobe Systems Incorporated.
  • 16. Se ing Android Permissions © 2011 Adobe Systems Incorporated.
  • 17. Se ing Android Permissions Use Application Descriptor File -> AndroidManifest.xml le <android><manifestAdditions><![CDATA[ <manifest android:installLocation="auto"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/> </manifest>]]></manifestAdditions> </android> © 2011 Adobe Systems Incorporated.
  • 18. Options for Building Mobile AIR Apps using Burrito §  ActionScript Mobile Project (no MXML) §  Flex Mobile Project: §  Blank – s:Application §  Mobile Project - s:MobileApplication §  Mobile Project – s:TabbedMobileApplication © 2011 Adobe Systems Incorporated.
  • 19. MobileApplication vs. TabbedMobileApplication © 2011 Adobe Systems Incorporated.
  • 20. Flex Mobile Components Screen Metaphor Application First Screen Second Screen © 2011 Adobe Systems Incorporated.
  • 21. Flex Mobile Components - ViewNavigator Using Flex’s s:MobileApplication or s:TabbedMobileApplication you get screen management for free §  navigator.push(NewScreen, data) - add new screen §  navigator.popView() - go to previous screen §  navigator. popToFirstView() - go to rst view §  navigator.activeView - retrieve active view © 2011 Adobe Systems Incorporated.
  • 22. Architecture of Flex Mobile App MobileApplication Support for screen navigation; ViewNavigator Application persistence between sessions ActionBar View Application UI: - screens/lists/bu ons/titles © 2011 Adobe Systems Incorporated.
  • 23. View Lifecycle ? Another Data View View Destroyed Created Destroyed Destroyed Created data = yourData; destructionPolicy =”none" © 2011 Adobe Systems Incorporated.
  • 24. View and ActionBar Components Hide the Action Bar: actionBarVisible = false; Overlay the Action Bar: overlayControls = true; © 2011 Adobe Systems Incorporated.
  • 25. Mobile Components §  Bu on Touch Enabled §  CheckBox Mobile Skins: ActionScript §  RadioBu on based skins and FXG §  TextInput Other components will come §  TextArea §  List §  ScrollBar © 2011 Adobe Systems Incorporated.
  • 26. Lists and Item Renderers MobileItemRenderer MobileIconItemRenderer <s:MobileItemRenderer label="Beer"/> <s:MobileIconItemRenderer labelField="label" messageField="message" iconField="icon" decoratorClass="phoneIcon"/> © 2011 Adobe Systems Incorporated.
  • 27. Splash Screen <s:MobileApplication splashScreenImage="@Embed(source='assets/splash-screen.png')" © 2011 Adobe Systems Incorporated.
  • 28. Helper Apps for Mobile Development Tour de Mobile Flex Adobe AIR Launchpad Android AIR App AIR app for Desktop © 2011 Adobe Systems Incorporated.
  • 29. What’s Next? §  3D APIs GPU Accelerated for Flash Player & AIR on desktop and mobiles (Direct3D 9 and OpenGL ES) §  Native extensions for AIR for Android §  Extending Flex “Hero” to iOS and BlackBerry Tablet OS © 2011 Adobe Systems Incorporated.
  • 30. Resources §  MP3 Remote Control for Android: h p://corlan.org/2010/07/02/creating-multi-screen-apps-for-android-and-desktop- using-air/ §  LiveCycle Collaboration Service showcase for Android tablets: h p://www.riagora.com/2011/03/lccs-showcase-on-your-tablet/ §  Mobile development with Flash Builder Burrito and Hero: h p://www.adobe.com/devnet/ ex/articles/mobile_development_hero_burrito.html §  Ge ing Flash Builder “Burrito”: h p://labs.adobe.com §  Tour de Mobile Flex: h p:// ex.org/tourmobile §  MAX 2010 Sessions Recordings (Channels > MAX 2010): h p://tv.adobe.com © 2011 Adobe Systems Incorporated.
  • 31. ank You! h p://corlan.org mihai.corlan@adobe.com © 2011 Adobe Systems Incorporated.
  • 32. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con dential.
  • 33. Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, the Adobe PDF logo, AIR, ColdFusion, ColdFusion Builder, Flash, Flash Builder, the Flash logo, Flex, LiveCycle, and Reader are eithe registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective owners. © 2010 Adobe Systems Incorporated. All rights reserved. Printed in the USA. 9102xxxx 3/10 Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, ActionScript, AIR, Flash, Flash Builder, Flash Catalyst, the Flash logo, Flex, and LiveCycle are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Microso and Windows are either registered trademarks or trademarks of Microso Corporation in the United States and/or other countries. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners. Printed in the USA. 91023957 3/10 © 2011 Adobe Systems Incorporated.
  • 34. Agenda Flash Platform Mobile Apps © 2011 Adobe Systems Incorporated.