SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
Bring your


   Mobile Apps                                  to life!



                                               Hemanth Sharma
      Twitter: www.twitter.com/hemanthsharma      Platform Evangelist
Facebook: www.facebook.com/hemanth.sharma         Adobe Systems Inc.
                 Blog: www.hsharma.com/tech
What is Mobile?

• Experience
• Personalization
• Contextual
• Form Factor
Accelerometer
Accelerometer


• Accelerometer.isSupported
• event.accelerationX, event.accelerationY, event.accelerationZ
• event.timestamp
Geolocation
Geolocation

• Geolocation.isSupported
• event.latitude, event.longitude
• event.heading, event.speed, event.altitude
• event.horizontalAccuracy, event.verticalAccuracy
• event.timestamp
Multitouch
Multitouch

• Multitouch.supportsTouchEvents
• Multitouch.maxTouchPoints
• MultitouchInputMode.TOUCH_POINT
• TouchEvent.TOUCH_BEGIN, TouchEvent.TOUCH_END
• TouchEvent.TOUCH_MOVE, TouchEvent. TOUCH_TAP, etc.
Multitouch Gestures
Multitouch Gestures
• Multitouch.supportsGestureEvents
• MultitouchInputMode.GESTURE
• TransformGestureEvent.GESTURE_SWIPE
• TransformGestureEvent.GESTURE_PAN
• TransformGestureEvent.GESTURE_ROTATE
• TransformGestureEvent.GESTURE_ZOOM
Multitouch Gestures
• TransformGestureEvent.GESTURE_SWIPE
     • event.offsetX
     • event.offsetY
Multitouch Gestures
• TransformGestureEvent.GESTURE_PAN
     • event.offsetX
     • event.offsetY
Multitouch Gestures
• TransformGestureEvent.GESTURE_ROTATE
     • event.rotation
Multitouch Gestures
• TransformGestureEvent.GESTURE_ZOOM
     • event.scaleX
     • event.scaleY
Camera
Camera (CameraUI)

• CameraUI.isSupported
• CameraUI.launch(MediaType.*)
• MediaType.IMAGE, MediaType.VIDEO
• event.data.file.url
Camera Roll
Camera Roll - Browse


• CameraRoll.supportsBrowseForImage
• CameraRoll.browseForImage()
• event.data.file.url
Camera Roll - Save


• CameraRoll.supportsAddBitmapData
• CameraRoll.addBitmapData(BitmapData)
• Event.COMPLETE, ErrorEvent.ERROR
Microphone
Microphone

• Microphone.isSupported
• Microphone.getMicrophone()
• Microphone.setSilenceLevel(silenceLevel, timeout)
• SampleDataEvent.SAMPLE_DATA
• Microphone.activityLevel
Permissions

    Android

    BlackBerry

    iOS
Device Keys
Device Keys


• applicationComplete
• stage.addEventListener(KeyboardEvent.KEY_DOWN)
• event.keyCode == Keyboard.BACK/MENU/SEARCH
• event.preventDefault()
On Device Debugging
DPI
DPI


• What is it?
• Why is it important?
DPI - Virtual Size
                      object.width = n pixels
                     object.height = n pixels
DPI - Physical Size
       object.width = Capabilities.screenDPI * physicalSizeInches
      object.height = Capabilities.screenDPI * physicalSizeInches
Multiplayer / Multi-user


• SocketServer Class
• Peer 2 Peer
Peer 2 Peer


• Communicate across peers directly
• Establish initial connection and get a Peer ID
• Established via RTMFP
ServerSocket


• Communicate via a network
• SocketServer class - Server
• Socket class - Client
Questions?

             Hemanth Sharma
             http://www.hsharma.com/tech
             Twitter
             @hemanthsharma
             Facebook
             www.facebook.com/hemanth.sharma

Contenu connexe

En vedette

Al-Iraqi 1972
Al-Iraqi 1972 Al-Iraqi 1972
Al-Iraqi 1972
namirkh
 
Espaço global e ordem mundial
Espaço global e ordem mundialEspaço global e ordem mundial
Espaço global e ordem mundial
luci96
 
Labor Unions Edim510
Labor Unions Edim510Labor Unions Edim510
Labor Unions Edim510
Amber
 

En vedette (13)

O espaço e o turismo
O espaço e o turismoO espaço e o turismo
O espaço e o turismo
 
Al-Iraqi 1972
Al-Iraqi 1972 Al-Iraqi 1972
Al-Iraqi 1972
 
Multiplatform Game Design & Development
Multiplatform Game Design & DevelopmentMultiplatform Game Design & Development
Multiplatform Game Design & Development
 
Era digital
Era digitalEra digital
Era digital
 
Euroland presentation
Euroland presentationEuroland presentation
Euroland presentation
 
Espaço global e ordem mundial
Espaço global e ordem mundialEspaço global e ordem mundial
Espaço global e ordem mundial
 
Trabalho de geografia
Trabalho de geografiaTrabalho de geografia
Trabalho de geografia
 
Cyber extension communication
Cyber extension communicationCyber extension communication
Cyber extension communication
 
Pengenalan Aplikasi Desain Grafis
Pengenalan Aplikasi Desain GrafisPengenalan Aplikasi Desain Grafis
Pengenalan Aplikasi Desain Grafis
 
Seminar Android - Pengenalan PhoneGap
Seminar Android - Pengenalan PhoneGapSeminar Android - Pengenalan PhoneGap
Seminar Android - Pengenalan PhoneGap
 
Labor Unions Edim510
Labor Unions Edim510Labor Unions Edim510
Labor Unions Edim510
 
Multiscreen with Flash Platform
Multiscreen with Flash PlatformMultiscreen with Flash Platform
Multiscreen with Flash Platform
 
Sony marketing strategy_v9
Sony marketing strategy_v9Sony marketing strategy_v9
Sony marketing strategy_v9
 

Dernier

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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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, ...
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Top AIR APIs to bring your mobile apps to life