SlideShare a Scribd company logo
1 of 40
Download to read offline
Adobe AIR Development for the
          BlackBerry PlayBook




                            Feb 24, 20111
Agenda
•   Screen interactions
•   Device APIs to make great apps
    • Device integration
    • Offline storage
    • Event listeners
•   Skinning UI components
    • Themes
    • Skinstates
    • Methods of skinning
•   Resources and support




                                     2
Characteristics of the BlackBerry
    PlayBook
•   Seven inch screen size
•   Multi touch interface
•   Landscape or portrait display
•   Virtual keyboard




                                        4
Make a touch centric app
       User Action                    Result                    Type            Color
Drag or swipe from the top    This action displays the   application-specific    Red
      of the screen                    menu
 Drag or swipe from the       This action displays the      system-wide         Purple
  bottom of the screen               navigator
Drag or swipe from the left    This action switches         system-wide         Blue
    or right side of the           applications
           screen




                                                                                         5
On screen interactions
           User Action                                  Result
          Tap the screen                     Initiates an action in the app
                                      This action moves the content on the screen
                                               in the direction of the drag
 Drag or swipe across the screen
                                       or swipe and at the corresponding rate of
                                                          speed

                                          This action highlights a sequence of
Touch and hold a finger on an item.      characters, a word, a link, or an item
                                         such as an email message or picture.

                                       These actions zoom in to and out from an
    Pinch open or pinch close.
                                                        item




                                                                                  6
Notifications and Indicators
• Application notifies appear in the top left corner of the screen
  • Inform users about app-specific events such as new mail
     messages




• Status indicators appear in the top right corner of the screen
  • Display system status information such as battery power and
      wireless connection



                                                                     7
Adobe Runtimes – Flash Player & AIR



               AIR SDK         Tablet OS SDK




ActionScript                              BlackBerry PlayBook
                         SWF
                                            Application (.bar)
PlayBook AIR SDK Capabilities
•   Hardware acceleration
•   Web View to display HTML and Flash content
•   UI components built specifically for the touch screen
•   APIs for front and rear facing cameras, accelerometer, in-app
    payments and more
•   Application notifications




                                                                    9
PlayBook AIR SDK Capabilities
•   Extend Adobe AIR applications to use native C++ extensions
•   Porting existing Adobe AIR and Flash applications quickly and easily




                                                                           10
Bring existing AIR apps to the
BlackBerry PlayBook
•   Create the proper directory structure
•   Create the app.xml file
•   Package the SWF and app.xml file through the command line tool
•   Deploy to your BlackBerry PlayBook!




ActionScript                                       BlackBerry PlayBook
                            SWF
                                                     Application (.bar)
APIs to build great
apps

                      12
Adding a swipe gesture




                         13
Adding a swipe gesture




                         14
Device Information




                     15
Device Information
•   Battery level      • Capture battery
•   Battery state        events for app
•   Hardware ID          lifecycle
•   Device OS          • Identify your users
                         based on PIN
•   Device PIN
                       • Identify the Device
•   Platform Version     OS for functionality
•   Vendor ID




                                                16
Battery Level and Events



• Monitor battery levels for power consumption in your
  app
• Customize your app to provide the user experience
• Display battery and charging information from your app




                                                           17
Battery Level and Events




                           18
Database

•   SQLite is a in-process library that implements a self-contained,
    serverless, zero-configuration, transactional SQL database engine.
•   Data is stored in a file on the system, typical the developer stores it
    in File.applicationStorageDirectory.




                                                          DB
      PlayBook AIR Application                               File
AIR SQLite APIs

•   SQLConnection
    • open() – Synchronous
    • openAsync() – Asynchronous
    • loadSchema() – Database schema
    • Can Encrypt data on disk.
•   SQLStatement
    • text – SQL commands
    • execute()
•   SQLError
    • details/detailsID – SQL error message
    • operation – SQL command causing error
Shared Object
AIR File APIs
•   File
    • File.applicationStorageDirectory - a storage directory unique to each
         installed AIR application
    • File.applicationDirectory - the read-only directory where the
         application is installed (along with any installed assets)
    • File.desktopDirectory, File.documentsDirectory, File.userDirectory
    • Properties: exists, isDirectory, nativePath, extension, name, …
    • Methods: browseForOpen, browseForSave, getDirectoryListing(), …
•   FileStream
    • writeObject() – Uses AMF to write binary serialization of object.
    • open() – Synchronous
    • openAsync() – Asynchronous
Activity Indicator




• Provide visual progress
  feedback to the user
  during time-consuming
  operations


                            23
Event Listeners
Skinning QNX UI
Components

                  25
Skinning Basics
• Skin options
  • Global themes
  • Set specific component skins parts
• Skin states
• Methods of creating Skins
  • Bitmaps with or without scale grid
  • Display objects using graphics API
• QNX skin assets available for reuse




                                         26
PlayBook Themes
• PlayBook comes with 2 Themes: White (default) & Black




                                                          27
PlayBook Themes Example 2




                            28
ThemesGlobal




               29
Skin States

•   SkinStates.DISABLED
•   SkinStates.DISABLED_SELECTED
•   SkinStates.DOWN
•   SkinStates.DOWN_SELECTED
•   SkinStates.FOCUS
•   SkinStates.SELECTED
•   SkinStates.UP
•   SkinStates.UP_ODD



                                   30
Component Skin Parts
• ToggleSwitch                      • DropDown
    • setFillSkin()                     • setBackgroundSkin()
    • setThumbSkin()                    • setButtonSkin()
    • setTrackSkin()                    • setListSkin()




     • Button          • TextInput
        • setSkin()        • setSkin()




                                                         31
Setting a Skin

• Set skin method typically takes these types:
  • Class reference
  • String of qualified class name
  • DisplayObject instance




                                                 32
Bitmaps with Slice 9 Scaling
• Use Case: Custom TextInput image that scales




          Up/Down skin image   Focus skin image




                                                  33
Skin Code:


  OddShapeSkin.png



OddShapeSkinFocus.png




                        34
Drawing API
• Use Case: Custom TextInput with drawing API
  • Need to update any time the width/height changes




                                                       35
Skin Code:




             36
Skin Code:




             37
Resources & Support


                      38
Resources & Support
• BlackBerry Developer website
    •   http://us.blackberry.com/developers/tablet/devresources.jsp
    •   Webcast Series
    •   Docs
• BlackBerry Developer Forum
    •   http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-
        Adobe-AIR/bd-p/tablet
• BlackBerry Developer Blog
    •   http://devblog.blackberry.com/
• Adobe Labs
    •   http://labs.adobe.com/technologies/flash/blackberrytabos/

                                                                    39
Q&A
Thank You!




         Feb 24, 2011
                    40

More Related Content

What's hot

What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2Joseph Labrecque
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsRomin Irani
 
WebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and SmartphonesWebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and SmartphonesKyle McInnes
 
S#01 김영욱
S#01 김영욱 S#01 김영욱
S#01 김영욱 codercay
 
eXo overview Fev 2013. Introducing our new positioning.
eXo overview Fev 2013. Introducing our new positioning. eXo overview Fev 2013. Introducing our new positioning.
eXo overview Fev 2013. Introducing our new positioning. Yann Aubry
 
Sviluppare per una piattaforma mobile aperta: opportunità e sfide
Sviluppare per una piattaforma mobile aperta: opportunità e sfideSviluppare per una piattaforma mobile aperta: opportunità e sfide
Sviluppare per una piattaforma mobile aperta: opportunità e sfideCodemotion
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash PlatformMihai Corlan
 
CA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCM First Group
 
Nokia Developer Offering Series 40
Nokia Developer Offering Series 40Nokia Developer Offering Series 40
Nokia Developer Offering Series 40Mohamad Iqbal
 
Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09Martha Rotter
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
Andriod ppt for colledge
Andriod ppt for colledgeAndriod ppt for colledge
Andriod ppt for colledgeabhav_luthra
 
Bring Your Android Apps to BlackBerry 10 in minutes
Bring Your Android Apps to BlackBerry 10 in minutesBring Your Android Apps to BlackBerry 10 in minutes
Bring Your Android Apps to BlackBerry 10 in minutesDr. Ranbijay Kumar
 
BlackBerry Basic
BlackBerry BasicBlackBerry Basic
BlackBerry BasicDuy Do Phan
 
Terence Barr - what's new in m&e - 24mai2011
Terence Barr - what's new in m&e - 24mai2011Terence Barr - what's new in m&e - 24mai2011
Terence Barr - what's new in m&e - 24mai2011Agora Group
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Desarrollo con AIR para Playbook
Desarrollo con AIR para PlaybookDesarrollo con AIR para Playbook
Desarrollo con AIR para PlaybookSoftware Guru
 
DevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentationDevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentationLeigh Williamson
 
Kony one studio technical training
Kony one studio technical trainingKony one studio technical training
Kony one studio technical trainingNiranjan Kumar Reddy
 

What's hot (20)

What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElements
 
WebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and SmartphonesWebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and Smartphones
 
S#01 김영욱
S#01 김영욱 S#01 김영욱
S#01 김영욱
 
eXo overview Fev 2013. Introducing our new positioning.
eXo overview Fev 2013. Introducing our new positioning. eXo overview Fev 2013. Introducing our new positioning.
eXo overview Fev 2013. Introducing our new positioning.
 
Sviluppare per una piattaforma mobile aperta: opportunità e sfide
Sviluppare per una piattaforma mobile aperta: opportunità e sfideSviluppare per una piattaforma mobile aperta: opportunità e sfide
Sviluppare per una piattaforma mobile aperta: opportunità e sfide
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
CA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, Android
 
Nokia Developer Offering Series 40
Nokia Developer Offering Series 40Nokia Developer Offering Series 40
Nokia Developer Offering Series 40
 
Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
Andriod ppt for colledge
Andriod ppt for colledgeAndriod ppt for colledge
Andriod ppt for colledge
 
Bring Your Android Apps to BlackBerry 10 in minutes
Bring Your Android Apps to BlackBerry 10 in minutesBring Your Android Apps to BlackBerry 10 in minutes
Bring Your Android Apps to BlackBerry 10 in minutes
 
BlackBerry Basic
BlackBerry BasicBlackBerry Basic
BlackBerry Basic
 
Terence Barr - what's new in m&e - 24mai2011
Terence Barr - what's new in m&e - 24mai2011Terence Barr - what's new in m&e - 24mai2011
Terence Barr - what's new in m&e - 24mai2011
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Desarrollo con AIR para Playbook
Desarrollo con AIR para PlaybookDesarrollo con AIR para Playbook
Desarrollo con AIR para Playbook
 
Android quick talk
Android quick talkAndroid quick talk
Android quick talk
 
DevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentationDevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentation
 
Kony one studio technical training
Kony one studio technical trainingKony one studio technical training
Kony one studio technical training
 

Viewers also liked

Defending the Spread- Keep 'em Guessing
Defending the Spread- Keep 'em GuessingDefending the Spread- Keep 'em Guessing
Defending the Spread- Keep 'em GuessingJohn Rice
 
Applying-Pressure-33-Defense-John-Rice (1)
Applying-Pressure-33-Defense-John-Rice (1)Applying-Pressure-33-Defense-John-Rice (1)
Applying-Pressure-33-Defense-John-Rice (1)John Rice
 
33 Defense Understanding the Basics Rice
33 Defense Understanding the Basics Rice33 Defense Understanding the Basics Rice
33 Defense Understanding the Basics RiceJohn Rice
 
33 Defense - Understanding the Basics - John Rice
33 Defense - Understanding the Basics - John Rice33 Defense - Understanding the Basics - John Rice
33 Defense - Understanding the Basics - John RiceJohn Rice
 
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...Brian King
 
Building Your Digital Marketing Playbook
Building Your Digital Marketing PlaybookBuilding Your Digital Marketing Playbook
Building Your Digital Marketing PlaybookKyle Lacy
 

Viewers also liked (6)

Defending the Spread- Keep 'em Guessing
Defending the Spread- Keep 'em GuessingDefending the Spread- Keep 'em Guessing
Defending the Spread- Keep 'em Guessing
 
Applying-Pressure-33-Defense-John-Rice (1)
Applying-Pressure-33-Defense-John-Rice (1)Applying-Pressure-33-Defense-John-Rice (1)
Applying-Pressure-33-Defense-John-Rice (1)
 
33 Defense Understanding the Basics Rice
33 Defense Understanding the Basics Rice33 Defense Understanding the Basics Rice
33 Defense Understanding the Basics Rice
 
33 Defense - Understanding the Basics - John Rice
33 Defense - Understanding the Basics - John Rice33 Defense - Understanding the Basics - John Rice
33 Defense - Understanding the Basics - John Rice
 
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...
Brian J King - Thesis Defense Presentation (Prior to giving) - Commercial Med...
 
Building Your Digital Marketing Playbook
Building Your Digital Marketing PlaybookBuilding Your Digital Marketing Playbook
Building Your Digital Marketing Playbook
 

Similar to Adobe AIR Development for the BlackBerry PlayBook

WWDC 15 - Apple's Developer Event @ 8-12 June, 2015
WWDC 15 - Apple's Developer Event @ 8-12 June, 2015WWDC 15 - Apple's Developer Event @ 8-12 June, 2015
WWDC 15 - Apple's Developer Event @ 8-12 June, 2015Burcu Geneci
 
Windows phone app development overview
Windows phone app development overviewWindows phone app development overview
Windows phone app development overviewAlan Mendelevich
 
Windows Phone Application development
Windows Phone Application developmentWindows Phone Application development
Windows Phone Application developmentvkalve
 
Android application development
Android application developmentAndroid application development
Android application developmentLinh Vi Tường
 
Introduction to Android for Quality Engineers
Introduction to Android for Quality EngineersIntroduction to Android for Quality Engineers
Introduction to Android for Quality EngineersAhmed Faidy
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android ApplicationNandini Prabhu
 
Android Mobile App Development basics PPT
Android Mobile App Development basics PPTAndroid Mobile App Development basics PPT
Android Mobile App Development basics PPTnithya697634
 
Google Developer Group(GDG) DevFest Event 2012 Android talk
Google Developer Group(GDG) DevFest Event 2012 Android talkGoogle Developer Group(GDG) DevFest Event 2012 Android talk
Google Developer Group(GDG) DevFest Event 2012 Android talkImam Raza
 
ADF Mobile : Best Practices for Developing Applications with Oracle ADF Mobile
ADF Mobile : Best Practices for Developing Applications with Oracle ADF MobileADF Mobile : Best Practices for Developing Applications with Oracle ADF Mobile
ADF Mobile : Best Practices for Developing Applications with Oracle ADF MobileLuc Bors
 
Build Your First Android App Session #1
Build Your First Android App Session #1Build Your First Android App Session #1
Build Your First Android App Session #1Troy Miles
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1drudolph11
 
Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsDroidcon Berlin
 
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break editionMatteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break editionDuckMa
 
Mobile Application Development with ANDROID
Mobile Application Development with ANDROIDMobile Application Development with ANDROID
Mobile Application Development with ANDROIDHasnain Iqbal
 

Similar to Adobe AIR Development for the BlackBerry PlayBook (20)

WWDC 15 - Apple's Developer Event @ 8-12 June, 2015
WWDC 15 - Apple's Developer Event @ 8-12 June, 2015WWDC 15 - Apple's Developer Event @ 8-12 June, 2015
WWDC 15 - Apple's Developer Event @ 8-12 June, 2015
 
Windows phone app development overview
Windows phone app development overviewWindows phone app development overview
Windows phone app development overview
 
Windows Phone Application development
Windows Phone Application developmentWindows Phone Application development
Windows Phone Application development
 
Android application development
Android application developmentAndroid application development
Android application development
 
Introduction to Android for Quality Engineers
Introduction to Android for Quality EngineersIntroduction to Android for Quality Engineers
Introduction to Android for Quality Engineers
 
Revue des annonces WWDC2015
Revue des annonces WWDC2015Revue des annonces WWDC2015
Revue des annonces WWDC2015
 
Android part1
Android part1Android part1
Android part1
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Android Mobile App Development basics PPT
Android Mobile App Development basics PPTAndroid Mobile App Development basics PPT
Android Mobile App Development basics PPT
 
Google Developer Group(GDG) DevFest Event 2012 Android talk
Google Developer Group(GDG) DevFest Event 2012 Android talkGoogle Developer Group(GDG) DevFest Event 2012 Android talk
Google Developer Group(GDG) DevFest Event 2012 Android talk
 
ADF Mobile: Best Practices for Developing Applications with Oracle ADF Mobile...
ADF Mobile: Best Practices for Developing Applications with Oracle ADF Mobile...ADF Mobile: Best Practices for Developing Applications with Oracle ADF Mobile...
ADF Mobile: Best Practices for Developing Applications with Oracle ADF Mobile...
 
ADF Mobile : Best Practices for Developing Applications with Oracle ADF Mobile
ADF Mobile : Best Practices for Developing Applications with Oracle ADF MobileADF Mobile : Best Practices for Developing Applications with Oracle ADF Mobile
ADF Mobile : Best Practices for Developing Applications with Oracle ADF Mobile
 
Build Your First Android App Session #1
Build Your First Android App Session #1Build Your First Android App Session #1
Build Your First Android App Session #1
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
 
Android class provider in mumbai
Android class provider in mumbaiAndroid class provider in mumbai
Android class provider in mumbai
 
Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_apps
 
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break editionMatteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
 
The Developers World
The Developers WorldThe Developers World
The Developers World
 
Mobile Application Development with ANDROID
Mobile Application Development with ANDROIDMobile Application Development with ANDROID
Mobile Application Development with ANDROID
 

Recently uploaded

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Adobe AIR Development for the BlackBerry PlayBook

  • 1. Adobe AIR Development for the BlackBerry PlayBook Feb 24, 20111
  • 2. Agenda • Screen interactions • Device APIs to make great apps • Device integration • Offline storage • Event listeners • Skinning UI components • Themes • Skinstates • Methods of skinning • Resources and support 2
  • 3.
  • 4. Characteristics of the BlackBerry PlayBook • Seven inch screen size • Multi touch interface • Landscape or portrait display • Virtual keyboard 4
  • 5. Make a touch centric app User Action Result Type Color Drag or swipe from the top This action displays the application-specific Red of the screen menu Drag or swipe from the This action displays the system-wide Purple bottom of the screen navigator Drag or swipe from the left This action switches system-wide Blue or right side of the applications screen 5
  • 6. On screen interactions User Action Result Tap the screen Initiates an action in the app This action moves the content on the screen in the direction of the drag Drag or swipe across the screen or swipe and at the corresponding rate of speed This action highlights a sequence of Touch and hold a finger on an item. characters, a word, a link, or an item such as an email message or picture. These actions zoom in to and out from an Pinch open or pinch close. item 6
  • 7. Notifications and Indicators • Application notifies appear in the top left corner of the screen • Inform users about app-specific events such as new mail messages • Status indicators appear in the top right corner of the screen • Display system status information such as battery power and wireless connection 7
  • 8. Adobe Runtimes – Flash Player & AIR AIR SDK Tablet OS SDK ActionScript BlackBerry PlayBook SWF Application (.bar)
  • 9. PlayBook AIR SDK Capabilities • Hardware acceleration • Web View to display HTML and Flash content • UI components built specifically for the touch screen • APIs for front and rear facing cameras, accelerometer, in-app payments and more • Application notifications 9
  • 10. PlayBook AIR SDK Capabilities • Extend Adobe AIR applications to use native C++ extensions • Porting existing Adobe AIR and Flash applications quickly and easily 10
  • 11. Bring existing AIR apps to the BlackBerry PlayBook • Create the proper directory structure • Create the app.xml file • Package the SWF and app.xml file through the command line tool • Deploy to your BlackBerry PlayBook! ActionScript BlackBerry PlayBook SWF Application (.bar)
  • 12. APIs to build great apps 12
  • 13. Adding a swipe gesture 13
  • 14. Adding a swipe gesture 14
  • 16. Device Information • Battery level • Capture battery • Battery state events for app • Hardware ID lifecycle • Device OS • Identify your users based on PIN • Device PIN • Identify the Device • Platform Version OS for functionality • Vendor ID 16
  • 17. Battery Level and Events • Monitor battery levels for power consumption in your app • Customize your app to provide the user experience • Display battery and charging information from your app 17
  • 18. Battery Level and Events 18
  • 19. Database • SQLite is a in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. • Data is stored in a file on the system, typical the developer stores it in File.applicationStorageDirectory. DB PlayBook AIR Application File
  • 20. AIR SQLite APIs • SQLConnection • open() – Synchronous • openAsync() – Asynchronous • loadSchema() – Database schema • Can Encrypt data on disk. • SQLStatement • text – SQL commands • execute() • SQLError • details/detailsID – SQL error message • operation – SQL command causing error
  • 22. AIR File APIs • File • File.applicationStorageDirectory - a storage directory unique to each installed AIR application • File.applicationDirectory - the read-only directory where the application is installed (along with any installed assets) • File.desktopDirectory, File.documentsDirectory, File.userDirectory • Properties: exists, isDirectory, nativePath, extension, name, … • Methods: browseForOpen, browseForSave, getDirectoryListing(), … • FileStream • writeObject() – Uses AMF to write binary serialization of object. • open() – Synchronous • openAsync() – Asynchronous
  • 23. Activity Indicator • Provide visual progress feedback to the user during time-consuming operations 23
  • 26. Skinning Basics • Skin options • Global themes • Set specific component skins parts • Skin states • Methods of creating Skins • Bitmaps with or without scale grid • Display objects using graphics API • QNX skin assets available for reuse 26
  • 27. PlayBook Themes • PlayBook comes with 2 Themes: White (default) & Black 27
  • 30. Skin States • SkinStates.DISABLED • SkinStates.DISABLED_SELECTED • SkinStates.DOWN • SkinStates.DOWN_SELECTED • SkinStates.FOCUS • SkinStates.SELECTED • SkinStates.UP • SkinStates.UP_ODD 30
  • 31. Component Skin Parts • ToggleSwitch • DropDown • setFillSkin() • setBackgroundSkin() • setThumbSkin() • setButtonSkin() • setTrackSkin() • setListSkin() • Button • TextInput • setSkin() • setSkin() 31
  • 32. Setting a Skin • Set skin method typically takes these types: • Class reference • String of qualified class name • DisplayObject instance 32
  • 33. Bitmaps with Slice 9 Scaling • Use Case: Custom TextInput image that scales Up/Down skin image Focus skin image 33
  • 34. Skin Code: OddShapeSkin.png OddShapeSkinFocus.png 34
  • 35. Drawing API • Use Case: Custom TextInput with drawing API • Need to update any time the width/height changes 35
  • 39. Resources & Support • BlackBerry Developer website • http://us.blackberry.com/developers/tablet/devresources.jsp • Webcast Series • Docs • BlackBerry Developer Forum • http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for- Adobe-AIR/bd-p/tablet • BlackBerry Developer Blog • http://devblog.blackberry.com/ • Adobe Labs • http://labs.adobe.com/technologies/flash/blackberrytabos/ 39
  • 40. Q&A Thank You! Feb 24, 2011 40