SlideShare una empresa de Scribd logo
1 de 37
Development Mobile App PhoneGap
                                                      Nguyen Thai Hoang Phuong – Dai-ichi Life




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Agenda
       •       Smartphone Market Share
       •       PhoneGap
       •       Setup and Configuration Tool
       •       PhoneGap Build
       •       Debugging PhoneGap Apps




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Marketshare In 2012 With 40 Million Units Sold




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
What is PhoneGap?




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
• Traditional mobile development looks like this:

                                       Platform                                       Platform




                     Tools                              Language
                                                                              Tools         Language
                                                       Objective-C
                                                                                                 Java




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
PhoneGap - Cordova
         • Is an open source platform for building native
           mobile applications using standard web
           technologies (HTML/CSS/JavaScript)
         • Apache Cordova is the name of the open
           source project
         • PhoneGap is the name of the Adobe’s Cordova
           distrbution


© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Why would you use PhoneGap?




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Why would you use PhoneGap?
       • PhoneGap allows you to use “write once, run
         everywhere” paradigm
       • Web standards based & Open Source
       • You get native installers for each platform
         ready to be distributed through application
         stores (App Store, Android Market, …)



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
PhoneGap could be your best friend if
       • You want to target multiple mobile platforms
       • You know HTML/JavaScript/CSS
       • You already have a web site/web application.
         Thus you can reuse parts of this (see
         Wikipedia)




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Setup and Configuration Tool




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Setup Tool - Android
 • Eclipse Classic
 http://www.eclipse.org/downloads/
 • Android SDK
 http://developer.android.com/sdk/index.html
 • PhoneGap
 http://phonegap.com/download


© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Configure the ADT Plugin for Eclipse
 • ADT plugin must be installed through the
   Eclipse Install New Software wizard.
            Start Eclipse.
            These steps will guide you through the installation
             of the ADT plugin.
             http://developer.android.com/sdk/installing/instal
             ling-adt.html
            Restart Eclipse.


© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Using platform native tool chain
       • Use the OS and tools each platform
         recommends:
                  – iOS - http://phonegap.com/start#ios-x4
                  – Android - http://phonegap.com/start#android
                  – BlackBerry -
                    http://phonegap.com/start#blackberry
                  – Windows Phone - http://phonegap.com/start#wp
                  – WebOS: http://phonegap.com/start#webos
                  – Symbian: http://phonegap.com/start#symbian

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Demo - Example




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Add new contact




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Add new contact




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
index.html




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
index.html




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
contact.js




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
How does PhoneGap work?
                          PhoneGap App                                                    Mobile Device


       PhoneGap                                           PhoneGap
       JavaScript                                         Native
       Engine                                             Engine
                                                                              Access to
                                                                              native
                                                                              mobile
        Your Code                                                             features
        HTML/JavaScript/CSS/Images/
        Frameworks/Libraries




        Web View
        Renders the app UI


© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Built-in device APIs




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
PhoneGap Plug-ins
       • Examples of plugins:
         https://github.com/purplecabbage/phonegap-
         plugins




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Demo - Example




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Use Google Chart API




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
index.html




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
index.html




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
index.html




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Building PhoneGap Apps




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Build your PhoneGap app as you’d
                        build a regular web app
      • Using your favorite editors (Eclipse, vim,
        Dreamweaver)
      • Test and debug the app using your desktop
        browser
      • Test and debug the app using mobile
        simulators/emulators and the physical devices


© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
What can you use to build your application?
       • Remember your application will run on the
         device’s browser
       • You can use whatever JavaScript frameworks
         or libraries you like. Eg. jQuery, jQuery Mobile,
         Sencha, Backbone, Liquid, Mustache,
         Bootrstrap, and so on



© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Creating the native installers
       There are 2 different methods to build the
       native installers for your PhoneGap app:
       • Using the target platform tool chain
       • Using PhoneGap Build – a cloud service




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Using PhoneGap Build
       • http://build.phonegap.com - a cloud service
       • Supports:
         iOS, Android, BlackBerry, WebOS, Windows
         Phone 7, and Symbian
       • Supports one plugin (ChildBrowser); but you can
         hack in support for other plugins
       • It is in beta and it is free; it will always be free for
         Open Source projects
       • You upload your files (index.html, CSS, JS, images)
       • Or you provide a Git / SVN link
       • Support for debugging
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Resources
       •       Source: github.com/callback
       •       Docs: docs.phonegap.com
       •       Wiki: wiki.phonegap.com
       •       PhoneGap Build: build.phonegap.com
       •       Plugins: github.com/purplecabbage/phonegap-
               plugins
       •       Support: groups.google.com/group/phonegap
       •       IRC: irc.freenode.net #phonegap
       •       Apps: phonegap.com/apps
       •       Bugs: issues.apache.org/jira/browse/CB
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Resources(cont)
       • Getting started with PhoneGap in Eclipse for
         Android
       • Getting started with PhoneGap in Xcode for iOS
       • Develop Mobile Applications Using PhoneGap and
         Kendo UI
       • Creating Cross-Device Compatible Mobile
         Applications that Integrate with SharePoint




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Resource(cont)
           Wrox.Beginning.PhoneGap
           https://skydrive.live.com/redir?resid=86951F18
           C2B21FFB!196&authkey=!AACYDJFxtXRv4Kc

           PhoneGap Mobile Application Development
           Cookbook
           https://skydrive.live.com/redir?resid=86951F18
           C2B21FFB!190&authkey=!AMoFJrzjyP8JfZo
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Question & Answers Time!

                                                                              Thank You!




© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Más contenido relacionado

La actualidad más candente

HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗
Bobby Chen
 
- Video conferencing data sheet
- Video conferencing data sheet- Video conferencing data sheet
- Video conferencing data sheet
Videoguy
 
Smau milano 2012 arena social media emanuele-bolognesi
Smau milano 2012   arena social media emanuele-bolognesiSmau milano 2012   arena social media emanuele-bolognesi
Smau milano 2012 arena social media emanuele-bolognesi
SMAU
 
Flash platform fitc
Flash platform fitcFlash platform fitc
Flash platform fitc
Mark Doherty
 
WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03
Videoguy
 
2010 Mobile motivation
2010  Mobile motivation2010  Mobile motivation
2010 Mobile motivation
WCET
 

La actualidad más candente (20)

HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗
 
From Flash to iPhone
From Flash to iPhoneFrom Flash to iPhone
From Flash to iPhone
 
Apps for journalists, spring 2018 - Val Hoeppner - Muncie NewsTrain - 3.24.18
Apps for journalists, spring 2018 - Val Hoeppner - Muncie NewsTrain - 3.24.18Apps for journalists, spring 2018 - Val Hoeppner - Muncie NewsTrain - 3.24.18
Apps for journalists, spring 2018 - Val Hoeppner - Muncie NewsTrain - 3.24.18
 
- Video conferencing data sheet
- Video conferencing data sheet- Video conferencing data sheet
- Video conferencing data sheet
 
Smau milano 2012 arena social media emanuele-bolognesi
Smau milano 2012   arena social media emanuele-bolognesiSmau milano 2012   arena social media emanuele-bolognesi
Smau milano 2012 arena social media emanuele-bolognesi
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2
 
Is HTML5 Ready for eLearning Development?
Is HTML5 Ready for eLearning Development?Is HTML5 Ready for eLearning Development?
Is HTML5 Ready for eLearning Development?
 
7 User Experience Lessons from the iPhone (Introducing UX)
7 User Experience Lessons from the iPhone (Introducing UX)7 User Experience Lessons from the iPhone (Introducing UX)
7 User Experience Lessons from the iPhone (Introducing UX)
 
Flash platform fitc
Flash platform fitcFlash platform fitc
Flash platform fitc
 
i_os_development_environment
i_os_development_environmenti_os_development_environment
i_os_development_environment
 
iPhone Applications & Luxury Brands - Updated May 5, 2010
iPhone Applications & Luxury Brands - Updated May 5, 2010iPhone Applications & Luxury Brands - Updated May 5, 2010
iPhone Applications & Luxury Brands - Updated May 5, 2010
 
dotFes KYOTO - スマホ開発にAIR & PhoneGapを勧める5つの理由
dotFes KYOTO - スマホ開発にAIR & PhoneGapを勧める5つの理由dotFes KYOTO - スマホ開発にAIR & PhoneGapを勧める5つの理由
dotFes KYOTO - スマホ開発にAIR & PhoneGapを勧める5つの理由
 
Introduction of Mobile applications
Introduction of Mobile applicationsIntroduction of Mobile applications
Introduction of Mobile applications
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4
 
WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03
 
DDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su LotusDDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su Lotus
 
GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016
 
移动端Web app开发
移动端Web app开发移动端Web app开发
移动端Web app开发
 
2010 Mobile motivation
2010  Mobile motivation2010  Mobile motivation
2010 Mobile motivation
 
DA with Wa - Desktop Apps With Web Apps
DA with Wa - Desktop Apps With Web AppsDA with Wa - Desktop Apps With Web Apps
DA with Wa - Desktop Apps With Web Apps
 

Similar a Development mobile app cross device

PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
Mihai Corlan
 
Adobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe CampAdobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe Camp
Mihai Corlan
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
Michael Chaize
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
Serge Jespers
 

Similar a Development mobile app cross device (20)

Debugging mobile websites and web apps
Debugging mobile websites and web appsDebugging mobile websites and web apps
Debugging mobile websites and web apps
 
Oop2012 mobile workshops
Oop2012 mobile workshopsOop2012 mobile workshops
Oop2012 mobile workshops
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«MMT 28: Adobe »Edge to the Flash«
MMT 28: Adobe »Edge to the Flash«
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
 
Montpellier - Flex UG
Montpellier - Flex UGMontpellier - Flex UG
Montpellier - Flex UG
 
Adobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe CampAdobe Shadow - Amsterdam Adobe Camp
Adobe Shadow - Amsterdam Adobe Camp
 
Cross platform mobile apps using rhomobile and jquery mobile
Cross platform mobile apps using rhomobile and jquery mobileCross platform mobile apps using rhomobile and jquery mobile
Cross platform mobile apps using rhomobile and jquery mobile
 
Flex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUGFlex presentation for Paris Android User group PAUG
Flex presentation for Paris Android User group PAUG
 
Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01Flexpaug 111207121300-phpapp01
Flexpaug 111207121300-phpapp01
 
An introduction to Apache Cordova
An introduction to Apache CordovaAn introduction to Apache Cordova
An introduction to Apache Cordova
 
Flash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex babyFlash camp portugal - Let's talk about Flex baby
Flash camp portugal - Let's talk about Flex baby
 
Dreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile designDreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile design
 
Flex 4.5 and mobile development
Flex 4.5 and mobile developmentFlex 4.5 and mobile development
Flex 4.5 and mobile development
 
Demystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART IDemystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART I
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
 
Native v s hybrid
Native v s hybridNative v s hybrid
Native v s hybrid
 
Android Development: Approach for Agile Teams
Android Development: Approach for Agile TeamsAndroid Development: Approach for Agile Teams
Android Development: Approach for Agile Teams
 
Native Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A ComparisonNative Mobile Platforms vs Phonegap – A Comparison
Native Mobile Platforms vs Phonegap – A Comparison
 
PhoneGap
PhoneGapPhoneGap
PhoneGap
 

Más de Phuong Nguyen

Más de Phuong Nguyen (9)

New Features In Power Pivot 2010
New Features In Power Pivot 2010New Features In Power Pivot 2010
New Features In Power Pivot 2010
 
Summary Project Server Psi
Summary Project Server PsiSummary Project Server Psi
Summary Project Server Psi
 
Customize Olap By Amo
Customize Olap By AmoCustomize Olap By Amo
Customize Olap By Amo
 
Claims Based Authentication A Beginners Guide
Claims Based Authentication A Beginners GuideClaims Based Authentication A Beginners Guide
Claims Based Authentication A Beginners Guide
 
Use Amo To Customize Olap In Project Server
Use Amo To Customize Olap In Project ServerUse Amo To Customize Olap In Project Server
Use Amo To Customize Olap In Project Server
 
ECM And Enterprise Metadata in SharePoint 2010
ECM And Enterprise Metadata in SharePoint 2010ECM And Enterprise Metadata in SharePoint 2010
ECM And Enterprise Metadata in SharePoint 2010
 
Share Point Development With Vs10
Share Point Development With Vs10Share Point Development With Vs10
Share Point Development With Vs10
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
 
Workflow
WorkflowWorkflow
Workflow
 

Último

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
 
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
 
+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@
 

Último (20)

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
 
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...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
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
 
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
 
+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...
 

Development mobile app cross device

  • 1. Development Mobile App PhoneGap Nguyen Thai Hoang Phuong – Dai-ichi Life © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 2. Agenda • Smartphone Market Share • PhoneGap • Setup and Configuration Tool • PhoneGap Build • Debugging PhoneGap Apps © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 3. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 4. Marketshare In 2012 With 40 Million Units Sold © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 5. What is PhoneGap? © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 6. • Traditional mobile development looks like this: Platform Platform Tools Language Tools Language Objective-C Java © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 7. PhoneGap - Cordova • Is an open source platform for building native mobile applications using standard web technologies (HTML/CSS/JavaScript) • Apache Cordova is the name of the open source project • PhoneGap is the name of the Adobe’s Cordova distrbution © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 8. Why would you use PhoneGap? © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 9. Why would you use PhoneGap? • PhoneGap allows you to use “write once, run everywhere” paradigm • Web standards based & Open Source • You get native installers for each platform ready to be distributed through application stores (App Store, Android Market, …) © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 10. PhoneGap could be your best friend if • You want to target multiple mobile platforms • You know HTML/JavaScript/CSS • You already have a web site/web application. Thus you can reuse parts of this (see Wikipedia) © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 11. Setup and Configuration Tool © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 12. Setup Tool - Android • Eclipse Classic http://www.eclipse.org/downloads/ • Android SDK http://developer.android.com/sdk/index.html • PhoneGap http://phonegap.com/download © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 13. Configure the ADT Plugin for Eclipse • ADT plugin must be installed through the Eclipse Install New Software wizard. Start Eclipse. These steps will guide you through the installation of the ADT plugin. http://developer.android.com/sdk/installing/instal ling-adt.html Restart Eclipse. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 14. Using platform native tool chain • Use the OS and tools each platform recommends: – iOS - http://phonegap.com/start#ios-x4 – Android - http://phonegap.com/start#android – BlackBerry - http://phonegap.com/start#blackberry – Windows Phone - http://phonegap.com/start#wp – WebOS: http://phonegap.com/start#webos – Symbian: http://phonegap.com/start#symbian © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 15. Demo - Example © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 16. Add new contact © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 17. Add new contact © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 18. index.html © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 19. index.html © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 20. contact.js © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 21. How does PhoneGap work? PhoneGap App Mobile Device PhoneGap PhoneGap JavaScript Native Engine Engine Access to native mobile Your Code features HTML/JavaScript/CSS/Images/ Frameworks/Libraries Web View Renders the app UI © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 22. Built-in device APIs © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 23. PhoneGap Plug-ins • Examples of plugins: https://github.com/purplecabbage/phonegap- plugins © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 24. Demo - Example © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 25. Use Google Chart API © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 26. index.html © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 27. index.html © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 28. index.html © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 29. Building PhoneGap Apps © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 30. Build your PhoneGap app as you’d build a regular web app • Using your favorite editors (Eclipse, vim, Dreamweaver) • Test and debug the app using your desktop browser • Test and debug the app using mobile simulators/emulators and the physical devices © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 31. What can you use to build your application? • Remember your application will run on the device’s browser • You can use whatever JavaScript frameworks or libraries you like. Eg. jQuery, jQuery Mobile, Sencha, Backbone, Liquid, Mustache, Bootrstrap, and so on © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 32. Creating the native installers There are 2 different methods to build the native installers for your PhoneGap app: • Using the target platform tool chain • Using PhoneGap Build – a cloud service © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 33. Using PhoneGap Build • http://build.phonegap.com - a cloud service • Supports: iOS, Android, BlackBerry, WebOS, Windows Phone 7, and Symbian • Supports one plugin (ChildBrowser); but you can hack in support for other plugins • It is in beta and it is free; it will always be free for Open Source projects • You upload your files (index.html, CSS, JS, images) • Or you provide a Git / SVN link • Support for debugging © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 34. Resources • Source: github.com/callback • Docs: docs.phonegap.com • Wiki: wiki.phonegap.com • PhoneGap Build: build.phonegap.com • Plugins: github.com/purplecabbage/phonegap- plugins • Support: groups.google.com/group/phonegap • IRC: irc.freenode.net #phonegap • Apps: phonegap.com/apps • Bugs: issues.apache.org/jira/browse/CB © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 35. Resources(cont) • Getting started with PhoneGap in Eclipse for Android • Getting started with PhoneGap in Xcode for iOS • Develop Mobile Applications Using PhoneGap and Kendo UI • Creating Cross-Device Compatible Mobile Applications that Integrate with SharePoint © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 36. Resource(cont) Wrox.Beginning.PhoneGap https://skydrive.live.com/redir?resid=86951F18 C2B21FFB!196&authkey=!AACYDJFxtXRv4Kc PhoneGap Mobile Application Development Cookbook https://skydrive.live.com/redir?resid=86951F18 C2B21FFB!190&authkey=!AMoFJrzjyP8JfZo © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 37. Question & Answers Time! Thank You! © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Notas del editor

  1. Windows Phone Will Have 6.2% Marketshare In 2012 With 40 Million Units SoldWe have seen many reports on smartphone market share in the future. Even IDC, Gartner reports that Windows Phone will be the No.2 smartphone platform by 2015. But in short term, Digitimes Research study expects a sales of 40 million Windows Phone units in 2012 occupying 6.2% of the whole market. The market will be lead by Android with 386 million units and iPhone with 121 million units. Microsoft and its OEM partners should more than double their market share every year to make the IDC report true. Lets see how it goes ! !Source and Chart based on Digitimes Research.
  2. 2010 CensusWikipediaUntapFacebook
  3. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  4. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  5. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  6. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  7. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  8. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  9. 2010 CensusWikipediaUntapFacebook
  10. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  11. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  12. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  13. WebView – chromless browser full screenLayer nativ – PhoneGap native engine – PhoneGapJavaScrip APILayerulaplicatiei – HTML / JavaScript / CSS
  14. We still have some time for questions. Anyone?