SlideShare a Scribd company logo
1 of 38
@jnbeck
ADL, PFI... WTF?
ADL - AIR Debug Launcher - Using ADL, you can run an application
without first packaging and installing it.


ADT - AIR Developer Tool - ADT is a multi-purpose, command-line
tool for developing AIR applications.


PFI - Packager For iPhone - Completely replaced by ADT.


                                                                   2
The Markets
... that support Adobe Flash




                               3
Membership Fee       $99 / year              $25          $99 / year ¹             $0    $0


        Revenue Split         30%                30%                30%               30%     30%


Overall Difficulty 1-10           5                 1                  3                 9     11


     Number of Apps        ~435,000          ~230,000            ~13,500              ~400   ~3,000

                         ¹ At the moment, first year is free
                         Source - Apple App Store - http://148apps.biz/app-store-metrics/
                         Source - Android Market - http://www.appbrain.com/stats/


                                                                                                    4
Build Process
                     APK




  Executable   ADT   IPA




   Assets            BAR

                           5
Application Descriptor
          Id
          Version Number
          Render Mode
          Auto Orientation
          Aspect Ratio
          Full Screen
          Onscreen Keyboard Behavior
          Icons Paths
          Device Profile
          Permissions
          iPhone Settings

                                       6
DEVICES SUCK


               7
Your finger is not transparent




   THIS        NOT THIS
                            8
Devices do not have
 roll over or roll out

                         9
TouchEvents are different
   than MouseEvents
            flash.ui.Multitouch
       flash.ui.MultitouchInputMode




                                     10
Let’s not forget about gestures




       flash.events.TransformGestureEvent


                                           11
Use Enter Frame
not Mouse Move

                  12
Screen Density
       !=
Screen Resolution

                    13
Screen Density != Screen Resolution
                   150 x 40 pixel button



 Desktop monitor    Galaxy Tab         Droid 2          iPhone 4
    @100 dpi         @160 dpi         @240 dpi          @320 dpi
  = 1.5” x 0.4”    = 0.9” x 0.25”   = 0.6” x 0.17”   = 0.46” x 0.13”




                                                                  14
Screen Density != Screen Resolution
                          150 x 40 pixel button



 Desktop monitor           Galaxy Tab            Droid 2          iPhone 4
    @100 dpi                @160 dpi            @240 dpi          @320 dpi
  = 1.5” x 0.4”           = 0.9” x 0.25”      = 0.6” x 0.17”   = 0.46” x 0.13”




           Same pixel count, different physical sizes
                   (Minimum recommended size: 0.25” x 0.25”)



                                                                            14
Screen Density != Screen Resolution
          3.5 inch diagonal screen




                                      15
Screen Density != Screen Resolution
             3.5 inch diagonal screen




     Same physical size, different pixel counts

                                                  15
Screen Density != Screen Resolution
Classification       160 DPI               240 DPI              320 DPI
Devices           Most tablets       Most Android phones       iPhone 4
                   iPhone 3GS
                Motorola Droid Pro

Mapped range        < 200 DPI            >= 200 DPI            > 280 DPI
                                         <= 280 DPI

Typical range     132 DPI (iPad)      217 DPI (HTC Evo)    326 DPI (iPhone 4)
                        to                    to
                181 DPI (HTC Hero)   254 DPI (NexusOne)




                                                                                16
Devices have differing aspect ratios




                                  17
Some devices have
 additional stuff...



                       18
Capabilities
flash.system.Capabilities



                           19
Devices have orientations




        StageOrientationEvent.ORIENTATION_CHANGING
    stage.setOrientation( StageOrientation.UPSIDE_DOWN );

                                                            20
Accelerometers
     Get your tilt on.




                         21
Emulators


            22
Testing on the Device


WiFi Debug Only     WiFi and USB Debug   WiFi Debug Only
Long Build Times    Faster Build Times    Debug Tokens
Mobile Provisions                            Signing
  Certificates

                                                       23
Full Screen


              24
Permissions


              25
CPU vs GPU



CPU - blitting   GPU - DisplayObject
 iOS - 20 FPS       iOS - 34 FPS
Droid - 24 FPS     Droid - 32 FPS

                                       26
Playbook is wicked fast




                          27
Molehill?


            28
ANT is your friend
(or maven if you’re a cool kid)




                                  29
Build servers are awesome


          +

                        30
Hosting your build servers




                             31
Your game can be
interrupted, at any time

                           32
Piracy can be a problem


                          33
Please use Version
 Control... please

                     34
Questions?


             35
Thanks!
          Nate Beck
          Principal Architect




          @jnbeck
          nate@zaalabs.com
          blog.natebeck.net


                                36

More Related Content

Similar to Going mobile natebeck

OWF12/PAUG Conf Days Google tv part 1 (introduction) matt gaunt, advocate ...
OWF12/PAUG Conf Days Google tv part 1 (introduction)    matt gaunt, advocate ...OWF12/PAUG Conf Days Google tv part 1 (introduction)    matt gaunt, advocate ...
OWF12/PAUG Conf Days Google tv part 1 (introduction) matt gaunt, advocate ...
Paris Open Source Summit
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
Pragya Rastogi
 
Affinity Talk2008 Bestpractice
Affinity Talk2008 BestpracticeAffinity Talk2008 Bestpractice
Affinity Talk2008 Bestpractice
martinip
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석
Jaehyeuk Oh
 
My 2013 International CES Summary
My 2013 International CES SummaryMy 2013 International CES Summary
My 2013 International CES Summary
Jeff Hoffman
 
PCTY 2012, How IBM does BYOD v. Martin Vittrup
PCTY 2012, How IBM does BYOD v. Martin VittrupPCTY 2012, How IBM does BYOD v. Martin Vittrup
PCTY 2012, How IBM does BYOD v. Martin Vittrup
IBM Danmark
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on Android
Xavier Hallade
 

Similar to Going mobile natebeck (20)

OWF12/PAUG Conf Days Google tv part 1 (introduction) matt gaunt, advocate ...
OWF12/PAUG Conf Days Google tv part 1 (introduction)    matt gaunt, advocate ...OWF12/PAUG Conf Days Google tv part 1 (introduction)    matt gaunt, advocate ...
OWF12/PAUG Conf Days Google tv part 1 (introduction) matt gaunt, advocate ...
 
Windows 10 Hybrid Development
Windows 10 Hybrid DevelopmentWindows 10 Hybrid Development
Windows 10 Hybrid Development
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
 
Windows In Academia Intro
Windows In Academia IntroWindows In Academia Intro
Windows In Academia Intro
 
Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids. Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids.
 
Android
AndroidAndroid
Android
 
Sencha touch in the wild
Sencha touch in the wildSencha touch in the wild
Sencha touch in the wild
 
Technical documentation of game development Part -1
Technical documentation of game development Part -1Technical documentation of game development Part -1
Technical documentation of game development Part -1
 
General Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers WorkshopGeneral Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers Workshop
 
Easy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeyEasy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkey
 
Affinity Talk2008 Bestpractice
Affinity Talk2008 BestpracticeAffinity Talk2008 Bestpractice
Affinity Talk2008 Bestpractice
 
[CCDD2013w] What to make of today’s &quot;smart&quot; platforms by 蔡亦恒
[CCDD2013w] What to make of today’s &quot;smart&quot; platforms  by 蔡亦恒[CCDD2013w] What to make of today’s &quot;smart&quot; platforms  by 蔡亦恒
[CCDD2013w] What to make of today’s &quot;smart&quot; platforms by 蔡亦恒
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석
 
My 2013 International CES Summary
My 2013 International CES SummaryMy 2013 International CES Summary
My 2013 International CES Summary
 
iPhone App Dev Overview - Mobile Dev Camp Vietnam 1
iPhone App Dev Overview - Mobile Dev Camp Vietnam 1iPhone App Dev Overview - Mobile Dev Camp Vietnam 1
iPhone App Dev Overview - Mobile Dev Camp Vietnam 1
 
PCTY 2012, How IBM does BYOD v. Martin Vittrup
PCTY 2012, How IBM does BYOD v. Martin VittrupPCTY 2012, How IBM does BYOD v. Martin Vittrup
PCTY 2012, How IBM does BYOD v. Martin Vittrup
 
Digital Fun for the Digital Home
Digital Fun for the Digital HomeDigital Fun for the Digital Home
Digital Fun for the Digital Home
 
Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on Android
 
Designing Rich Mobile Apps in a Fragmented World
Designing Rich Mobile Apps in a Fragmented WorldDesigning Rich Mobile Apps in a Fragmented World
Designing Rich Mobile Apps in a Fragmented World
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Going mobile natebeck

  • 2. ADL, PFI... WTF? ADL - AIR Debug Launcher - Using ADL, you can run an application without first packaging and installing it. ADT - AIR Developer Tool - ADT is a multi-purpose, command-line tool for developing AIR applications. PFI - Packager For iPhone - Completely replaced by ADT. 2
  • 3. The Markets ... that support Adobe Flash 3
  • 4. Membership Fee $99 / year $25 $99 / year ¹ $0 $0 Revenue Split 30% 30% 30% 30% 30% Overall Difficulty 1-10 5 1 3 9 11 Number of Apps ~435,000 ~230,000 ~13,500 ~400 ~3,000 ¹ At the moment, first year is free Source - Apple App Store - http://148apps.biz/app-store-metrics/ Source - Android Market - http://www.appbrain.com/stats/ 4
  • 5. Build Process APK Executable ADT IPA Assets BAR 5
  • 6. Application Descriptor Id Version Number Render Mode Auto Orientation Aspect Ratio Full Screen Onscreen Keyboard Behavior Icons Paths Device Profile Permissions iPhone Settings 6
  • 8. Your finger is not transparent THIS NOT THIS 8
  • 9. Devices do not have roll over or roll out 9
  • 10. TouchEvents are different than MouseEvents flash.ui.Multitouch flash.ui.MultitouchInputMode 10
  • 11. Let’s not forget about gestures flash.events.TransformGestureEvent 11
  • 12. Use Enter Frame not Mouse Move 12
  • 13. Screen Density != Screen Resolution 13
  • 14. Screen Density != Screen Resolution 150 x 40 pixel button Desktop monitor Galaxy Tab Droid 2 iPhone 4 @100 dpi @160 dpi @240 dpi @320 dpi = 1.5” x 0.4” = 0.9” x 0.25” = 0.6” x 0.17” = 0.46” x 0.13” 14
  • 15. Screen Density != Screen Resolution 150 x 40 pixel button Desktop monitor Galaxy Tab Droid 2 iPhone 4 @100 dpi @160 dpi @240 dpi @320 dpi = 1.5” x 0.4” = 0.9” x 0.25” = 0.6” x 0.17” = 0.46” x 0.13” Same pixel count, different physical sizes (Minimum recommended size: 0.25” x 0.25”) 14
  • 16. Screen Density != Screen Resolution 3.5 inch diagonal screen 15
  • 17. Screen Density != Screen Resolution 3.5 inch diagonal screen Same physical size, different pixel counts 15
  • 18. Screen Density != Screen Resolution Classification 160 DPI 240 DPI 320 DPI Devices Most tablets Most Android phones iPhone 4 iPhone 3GS Motorola Droid Pro Mapped range < 200 DPI >= 200 DPI > 280 DPI <= 280 DPI Typical range 132 DPI (iPad) 217 DPI (HTC Evo) 326 DPI (iPhone 4) to to 181 DPI (HTC Hero) 254 DPI (NexusOne) 16
  • 19. Devices have differing aspect ratios 17
  • 20. Some devices have additional stuff... 18
  • 22. Devices have orientations StageOrientationEvent.ORIENTATION_CHANGING stage.setOrientation( StageOrientation.UPSIDE_DOWN ); 20
  • 23. Accelerometers Get your tilt on. 21
  • 24. Emulators 22
  • 25. Testing on the Device WiFi Debug Only WiFi and USB Debug WiFi Debug Only Long Build Times Faster Build Times Debug Tokens Mobile Provisions Signing Certificates 23
  • 28. CPU vs GPU CPU - blitting GPU - DisplayObject iOS - 20 FPS iOS - 34 FPS Droid - 24 FPS Droid - 32 FPS 26
  • 30. Molehill? 28
  • 31. ANT is your friend (or maven if you’re a cool kid) 29
  • 32. Build servers are awesome + 30
  • 33. Hosting your build servers 31
  • 34. Your game can be interrupted, at any time 32
  • 35. Piracy can be a problem 33
  • 36. Please use Version Control... please 34
  • 38. Thanks! Nate Beck Principal Architect @jnbeck nate@zaalabs.com blog.natebeck.net 36

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n