SlideShare a Scribd company logo
Sheridan Mobile Summit 2011



Developing for Mobile
  with Adobe AIR
     By Matthew Fabb
Who Am I?
Education
   Sheridan's System Analyst/Computer Programmer
     in 2000
   Sheridan's Interactive Mulitmedia in 2002
I am currently a developer
   at StickerYou
I was a technical editor on Wrox’s
   Professional Flex 3
Authored by:
  Joseph Balderson, Andrew Trice, Peter Ent,
  Joe Berkovitz, Tom Sugden, Todd Prekaski,
  David Hassoun, and Jun Heider.

http://www.mathewfabb.com
contactme@matthewfabb.com
@mattthewfabb
Adobe & mobile
Dreamweaver CS5.5
  jQuery Mobile integration
  Allows you to create Android & iOS apps with PhoneGap
     using HTML, JS & CSS
Adobe “Wallaby”
  Converts Flash into HTML5 content
  Very basic animations, good for banner ads
  WebKit only & optimized for iOS
Adobe “Edge” prototype
  HTML5 animation tool
  Uses jQuery
Adobe & Mobile
Digital Publishing Suite
   Creates digital magazines for iOS, Android &
     PlayBook (possibly for WebOS in the future)
Photoshop Touch SDK
Flash CS5.5
   CS5 targeted iOS & now CS5.5 adds Android &
    Playbook
Flash Builder 4.5
   Includes Flex SDK 4.5 that has components
     targeted for mobile
Flash & AIR - Reach
Xoom, Galaxy Tab, Droid2, iPod Touch, iPad and in the browser.
What is Flex?
Flex is an Adobe open source framework to create Flash
  applications
MXML, an XML-based mark up language is used to layout
 the interface of the application
ActionScript is used with the MXML for interactivity
CSS can be used to style the application
MXML, CSS & ActionScript is compiled into generated
 ActionScript which is then compiled into a SWF file
Adobe AIR



AIR for desktop
   .AIR file for Mac, Linux, PC
AIR for mobile
   .IPA file for iOS
   .APK file for Android
   .BAR file for PlayBook
What is Flex?
The Flex compiler is free & open source
Developers can create Flex applications via:
   Adobe's Flash Builder
   3rd party tools such as FlashDevelop or FDT
   Any text editor & the Flex compiler
Flex 4.5
Next version of the Flex SDK is 4.5, code named Flex Hero
Additional features were added to regular Flex applications,
  but the main focus was mobile
Mobile Application
Supports hardware keys
Orientation support
Provides API to save data between application sessions
  & interruptions (such as phone calls)
Has 2 methods of dealing with multiple DPIs on different
  devices
480x320   800x480   854x480   960x640   1024x600   1024x768
160 DPI   240 DPI   240 DPI   326 DPI    170 DPI    120 DPI
Goals of Flex 4.5
Hero's 3 main goals of Flex 4.5
   Spark Maturation
      Flex 4 Spark components still lag behind MX
        components
      Likely not to catch up completely in 4.5
   Large-Application Development
      Better RSLs
          You can no use RSLs with monkey patching
      More spark componets:
          DataGrid, Form, PopUpContainer
      Text Layout Framework 2.0 integration
   Multi-Screen Development
      Mobile
What Flex 4.5 Mobile is made up of?
Mobile theme
Mobile Application
View & ViewNavigator
Mobile Application Components
    ActionBar
    Text Components
    List, Scroller and Touch Gestures
Mobile Splash Screen
Mobile View Menu – For Android menu settings hardware button
Functionality to deal with different DPI
Soft keyboard support
Flex 4.5 app breakdown
ActionBar can appear above or bellow the view or both
ActionBar is consistent while the View changes from
  screen to screen
Mobile theme
Set of skins that are quite different from the regular Spark skins
Designed and optimized for mobile devices
For performance reasons all graphics are FXG and interaction is pure
   ActionScript
Mobile skins in the preview for the following regular spark components:
    Button
    CheckBox
    RadioButton
    TextInput
    TextArea
    List
    Scrollbar
    More to come
      before final release
View & ViewNavigator
The basis of how Flex Hero mobile works
The main area is a stack where views are popped on
  and off
Only one view is visible at a time
When leaving a view the UI objects are destroyed, but
 data object persists, keeping the memory footprint
 small
You can override the destruction of the UI, if it's an
  expensive UI to build and destroy (detailed chart with
  lots of visible data)
A history is maintained and when the back button is
  pressed it cycles through the history
Transitions can be easily added from one screen to
  another
ActionBar
There's 3 areas of the ActionBar
   navigationContent, titleContent and actionContent




All are optional just like the ActionBar itself
TitleContent default has a label displaying the view title
   Can be disabled to just have the title of the app or
     something else similar
Can be used with view transitions to animated in-sync with
  the view
Mobile text components
Optimized for mobile
TLF (Text Layout Framework) is not used and discouraged
  for mobile
   A mobile version of TLF is in the works but is not
     ready yet
Flex mobile text components use old school TextField which
  has better performance over the new FTE (Flash Text
  Engine)
Additional components
Mobile List, Scroller
   Similar to regular list, but optimized using
     MobileItemRenderer & responds to touch events
Splash screen
   A graphic or animation to show as your application
     starts up and initializes
Mobile View Menu
   Not in the latest build, but in the specification and is
    a menu that appears when the physical menu
    button on Android devices is pressed
Dealing with multiple DPIs
Flex Hero has multiple ways displaying content at different
  DPIs
In dealing with different DPI's, Flex Hero divides it into 3
   sections:
   160 dpi
       < 200
   240 dpi
       >= 200
       < 280
   320 dpi
       <= 280
Dealing with multiple DPIs
ApplicaitonDPI
   Get the app working on one DPI, set that DPI and
    have the app scale up or down for other DPIs
MultiDPIBitmapSource
         <s:MultiDPIBitmapSource
            source160dpi="logo.png"
            source240dpi="logo240.png"
            source320dpi="logo320.png" />
CSS that deals with multiple DPIs

More Related Content

What's hot (20)

PPTX
Flutter 2.2 version | skywave info solutions
Skywave Info Solutions
 
PPTX
Flutter single codebase to build your dream application for i os and android
Concetto Labs
 
PPTX
Building Hybrid Apps with AngularJS and Ionic
Younes Adounis
 
PPT
Windows Phone7 Development
Danish Mehraj
 
PDF
Cross platform apps using Xamarin
eduquer
 
PDF
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Xamarin
 
PPTX
Hybridapp
Faizaan Ahmed Khan
 
PDF
Evolution of Xamarin.Forms!
All Things Open
 
PDF
Native i os, android, and windows development in c# with xamarin 4
Xamarin
 
PDF
Benefits of xamarin
Mindfire LLC
 
PDF
What Apple's iOS 5 Means for Marketers
Ben Gaddis
 
PPTX
Windows Phone 7
Prashant Tiwari
 
PDF
Microsoft Speech Technologies for Developers
Nick Landry
 
PDF
Xamarin the good, the bad and the ugly
Azilen Technologies Pvt. Ltd.
 
PPTX
Designing mobile applications with xamarin
Jerel Hass
 
PDF
Build Better Games with Unity and Microsoft Azure
Xamarin
 
PDF
Intro to Xamarin.Forms for Visual Studio 2017
Xamarin
 
PPTX
Telerik app builder
mssaman
 
PDF
Dashboard Simulator
Jahin Majumdar
 
PPTX
Xamarin cross platform
Guada Casuso
 
Flutter 2.2 version | skywave info solutions
Skywave Info Solutions
 
Flutter single codebase to build your dream application for i os and android
Concetto Labs
 
Building Hybrid Apps with AngularJS and Ionic
Younes Adounis
 
Windows Phone7 Development
Danish Mehraj
 
Cross platform apps using Xamarin
eduquer
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Xamarin
 
Hybridapp
Faizaan Ahmed Khan
 
Evolution of Xamarin.Forms!
All Things Open
 
Native i os, android, and windows development in c# with xamarin 4
Xamarin
 
Benefits of xamarin
Mindfire LLC
 
What Apple's iOS 5 Means for Marketers
Ben Gaddis
 
Windows Phone 7
Prashant Tiwari
 
Microsoft Speech Technologies for Developers
Nick Landry
 
Xamarin the good, the bad and the ugly
Azilen Technologies Pvt. Ltd.
 
Designing mobile applications with xamarin
Jerel Hass
 
Build Better Games with Unity and Microsoft Azure
Xamarin
 
Intro to Xamarin.Forms for Visual Studio 2017
Xamarin
 
Telerik app builder
mssaman
 
Dashboard Simulator
Jahin Majumdar
 
Xamarin cross platform
Guada Casuso
 

Viewers also liked (16)

PPT
Test slide
VĹ© Linh
 
PPT
FlashInTO SVN Presentation
Matthew Fabb
 
PPT
Viajeros BarcelĂł
guest240951
 
PPTX
Odissea
Catalini Teresa
 
PPTX
L'odissea
scuolabovio
 
ODP
2
guest240951
 
PPT
Crash Course In Cloud Computing
JimDelRosso
 
ODP
Extending Zend Framework
PHPBelgium
 
PPTX
Crash course in cloud computing (May 2010)
JimDelRosso
 
PPT
Html5 Video Vs Flash Video presentation
Matthew Fabb
 
PPT
La raccolta differenziata dei rifiuti
Catalini Teresa
 
PPT
Educacion Vial, Presentacion
esanorbridge
 
ODP
2
guest240951
 
PPT
Introduction to PHPBelgium
PHPBelgium
 
PDF
Il Lungo Viaggio Di Enea
Catalini Teresa
 
PPSX
Odissea
mariaprincipato
 
Test slide
VĹ© Linh
 
FlashInTO SVN Presentation
Matthew Fabb
 
Viajeros BarcelĂł
guest240951
 
Odissea
Catalini Teresa
 
L'odissea
scuolabovio
 
Crash Course In Cloud Computing
JimDelRosso
 
Extending Zend Framework
PHPBelgium
 
Crash course in cloud computing (May 2010)
JimDelRosso
 
Html5 Video Vs Flash Video presentation
Matthew Fabb
 
La raccolta differenziata dei rifiuti
Catalini Teresa
 
Educacion Vial, Presentacion
esanorbridge
 
Introduction to PHPBelgium
PHPBelgium
 
Il Lungo Viaggio Di Enea
Catalini Teresa
 
Odissea
mariaprincipato
 
Ad

Similar to Developing for Mobile with Adobe AIR (20)

PPTX
Mobile Apps using Flex and ColdFusion
Terry Ryan
 
KEY
Flash Builder and Flex Future - Multiscreen Development
Ryan Stewart
 
PPTX
Flex multi-screen development
easelsolutions
 
KEY
Introduction to Flex Hero for Mobile Devices
Ryan Stewart
 
PPTX
AIR Mobile Application Development: Package, Building, Design & Skinning
Renaun Erickson
 
PPTX
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Himanshu Sharan
 
PPTX
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Himanshu Sharan
 
PDF
White paper native, web or hybrid mobile app development
IBM Software India
 
PPTX
Multiscreen Development with Adobe Air
easelsolutions
 
PPT
iPhone Programming
Shashank Garg
 
PPT
Flex Remoting With WebORB v1.0
guest642dd3
 
ODP
DanNotes XPages Mobile Controls
Paul Withers
 
PPT
Developing RIAs... 10 reasons to use Adobe Flex
Matthias Zeller
 
PDF
Benefits of PhoneGap for Mobile App Development - Appzure
Appzure -Mobile App Development
 
PDF
Introduction to Flex
namero999
 
PDF
Adobe AIR Mobile development for Android and PlayBook
Mihai Corlan
 
PPT
Html5 investigation
oppokui
 
PPTX
Hybrid Mobile App
Palani Kumar
 
PPTX
Hybrid mobile app
Palani Kumar
 
DOCX
flutter-general-report.docx
KuntalSasmal1
 
Mobile Apps using Flex and ColdFusion
Terry Ryan
 
Flash Builder and Flex Future - Multiscreen Development
Ryan Stewart
 
Flex multi-screen development
easelsolutions
 
Introduction to Flex Hero for Mobile Devices
Ryan Stewart
 
AIR Mobile Application Development: Package, Building, Design & Skinning
Renaun Erickson
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Himanshu Sharan
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Himanshu Sharan
 
White paper native, web or hybrid mobile app development
IBM Software India
 
Multiscreen Development with Adobe Air
easelsolutions
 
iPhone Programming
Shashank Garg
 
Flex Remoting With WebORB v1.0
guest642dd3
 
DanNotes XPages Mobile Controls
Paul Withers
 
Developing RIAs... 10 reasons to use Adobe Flex
Matthias Zeller
 
Benefits of PhoneGap for Mobile App Development - Appzure
Appzure -Mobile App Development
 
Introduction to Flex
namero999
 
Adobe AIR Mobile development for Android and PlayBook
Mihai Corlan
 
Html5 investigation
oppokui
 
Hybrid Mobile App
Palani Kumar
 
Hybrid mobile app
Palani Kumar
 
flutter-general-report.docx
KuntalSasmal1
 
Ad

Recently uploaded (20)

PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 

Developing for Mobile with Adobe AIR

  • 1. Sheridan Mobile Summit 2011 Developing for Mobile with Adobe AIR By Matthew Fabb
  • 2. Who Am I? Education Sheridan's System Analyst/Computer Programmer in 2000 Sheridan's Interactive Mulitmedia in 2002 I am currently a developer at StickerYou I was a technical editor on Wrox’s Professional Flex 3 Authored by: Joseph Balderson, Andrew Trice, Peter Ent, Joe Berkovitz, Tom Sugden, Todd Prekaski, David Hassoun, and Jun Heider. http://www.mathewfabb.com [email protected] @mattthewfabb
  • 3. Adobe & mobile Dreamweaver CS5.5 jQuery Mobile integration Allows you to create Android & iOS apps with PhoneGap using HTML, JS & CSS Adobe “Wallaby” Converts Flash into HTML5 content Very basic animations, good for banner ads WebKit only & optimized for iOS Adobe “Edge” prototype HTML5 animation tool Uses jQuery
  • 4. Adobe & Mobile Digital Publishing Suite Creates digital magazines for iOS, Android & PlayBook (possibly for WebOS in the future) Photoshop Touch SDK Flash CS5.5 CS5 targeted iOS & now CS5.5 adds Android & Playbook Flash Builder 4.5 Includes Flex SDK 4.5 that has components targeted for mobile
  • 5. Flash & AIR - Reach
  • 6. Xoom, Galaxy Tab, Droid2, iPod Touch, iPad and in the browser.
  • 7. What is Flex? Flex is an Adobe open source framework to create Flash applications MXML, an XML-based mark up language is used to layout the interface of the application ActionScript is used with the MXML for interactivity CSS can be used to style the application MXML, CSS & ActionScript is compiled into generated ActionScript which is then compiled into a SWF file
  • 8. Adobe AIR AIR for desktop .AIR file for Mac, Linux, PC AIR for mobile .IPA file for iOS .APK file for Android .BAR file for PlayBook
  • 9. What is Flex? The Flex compiler is free & open source Developers can create Flex applications via: Adobe's Flash Builder 3rd party tools such as FlashDevelop or FDT Any text editor & the Flex compiler
  • 10. Flex 4.5 Next version of the Flex SDK is 4.5, code named Flex Hero Additional features were added to regular Flex applications, but the main focus was mobile
  • 11. Mobile Application Supports hardware keys Orientation support Provides API to save data between application sessions & interruptions (such as phone calls) Has 2 methods of dealing with multiple DPIs on different devices
  • 12. 480x320 800x480 854x480 960x640 1024x600 1024x768 160 DPI 240 DPI 240 DPI 326 DPI 170 DPI 120 DPI
  • 13. Goals of Flex 4.5 Hero's 3 main goals of Flex 4.5 Spark Maturation Flex 4 Spark components still lag behind MX components Likely not to catch up completely in 4.5 Large-Application Development Better RSLs You can no use RSLs with monkey patching More spark componets: DataGrid, Form, PopUpContainer Text Layout Framework 2.0 integration Multi-Screen Development Mobile
  • 14. What Flex 4.5 Mobile is made up of? Mobile theme Mobile Application View & ViewNavigator Mobile Application Components ActionBar Text Components List, Scroller and Touch Gestures Mobile Splash Screen Mobile View Menu – For Android menu settings hardware button Functionality to deal with different DPI Soft keyboard support
  • 15. Flex 4.5 app breakdown ActionBar can appear above or bellow the view or both ActionBar is consistent while the View changes from screen to screen
  • 16. Mobile theme Set of skins that are quite different from the regular Spark skins Designed and optimized for mobile devices For performance reasons all graphics are FXG and interaction is pure ActionScript Mobile skins in the preview for the following regular spark components: Button CheckBox RadioButton TextInput TextArea List Scrollbar More to come before final release
  • 17. View & ViewNavigator The basis of how Flex Hero mobile works The main area is a stack where views are popped on and off Only one view is visible at a time When leaving a view the UI objects are destroyed, but data object persists, keeping the memory footprint small You can override the destruction of the UI, if it's an expensive UI to build and destroy (detailed chart with lots of visible data) A history is maintained and when the back button is pressed it cycles through the history Transitions can be easily added from one screen to another
  • 18. ActionBar There's 3 areas of the ActionBar navigationContent, titleContent and actionContent All are optional just like the ActionBar itself TitleContent default has a label displaying the view title Can be disabled to just have the title of the app or something else similar Can be used with view transitions to animated in-sync with the view
  • 19. Mobile text components Optimized for mobile TLF (Text Layout Framework) is not used and discouraged for mobile A mobile version of TLF is in the works but is not ready yet Flex mobile text components use old school TextField which has better performance over the new FTE (Flash Text Engine)
  • 20. Additional components Mobile List, Scroller Similar to regular list, but optimized using MobileItemRenderer & responds to touch events Splash screen A graphic or animation to show as your application starts up and initializes Mobile View Menu Not in the latest build, but in the specification and is a menu that appears when the physical menu button on Android devices is pressed
  • 21. Dealing with multiple DPIs Flex Hero has multiple ways displaying content at different DPIs In dealing with different DPI's, Flex Hero divides it into 3 sections: 160 dpi < 200 240 dpi >= 200 < 280 320 dpi <= 280
  • 22. Dealing with multiple DPIs ApplicaitonDPI Get the app working on one DPI, set that DPI and have the app scale up or down for other DPIs MultiDPIBitmapSource <s:MultiDPIBitmapSource source160dpi="logo.png" source240dpi="logo240.png" source320dpi="logo320.png" /> CSS that deals with multiple DPIs

Editor's Notes

  • #2: How many designers out there? How many developers? How many Flex developers? Developers familiar with Flex 4?
  • #12: supports hardware keys currently only back button, but looks like support for menu button is coming in a later release orientation support keeps track of the device orientation as a Flex state you can create a UI that changes with orientation or you can give it a completely different view provides API to save data between application sessions &amp; phone calls note the data that is saved is not encrypted best not use this for any sensitive data, unless you add your own encryption