SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
PhoneGap / Cordova
HTML5 Apps on all Major Platforms


Felix Rieseberg
Developer Evangelist, Microsoft

Mihai Corlan
Developer Evangelist, Adobe
About Us

Felix Rieseberg
§    Microsoft Developer Evangelist
§    http://felixrieseberg.com
§    http://twitter.com/felixrieseberg
§    felix.rieseberg@microsoft.com


Mihai Corlan
§    Adobe Web Developer Evangelist
§    Blog: http://corlan.org
§    Twitter: mcorlan
§    Email: mcorlan@adobe.com

 2
Let’s talk
    Mobile Development


3
Let’s talk
HTML5


             4
Bridging the Gap


5
6
    §
Cordova summarized so far




 Develop once, deploy everywhere.


 Chromeless browser   WebApp & API Bridge   Native Package




 7
Cordova supports 7 platforms
Cordova Compatibility
Demo
How does Cordova work?

         Cordova App                         Mobile Device


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




 Web View
 Renders the app UI
Cordova Plug-ins

§    http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins
§    Examples of plugins: https://github.com/purplecabbage/phonegap-plugins
§    Extend the built-in functionality with custom plug-ins
§    Delegate heavyweight data processing to native code
§    Create background services
Building Cordova Apps
Build your Cordova app as you’d build a regular web app

§    Using your favorite editors (Eclipse, vim, Dreamweaver, Visual Studio)
§    Test and debug the app using your desktop browser
§    Test and debug the app using mobile simulators/emulators and the physical
      devices
What can you use to build your app?

§    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
§    Pay attention to performance (mobile vs. desktop)
§    Pay attention to mobile browser features or lack of them (I am talking about
      SVG)
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
Using the 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
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
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
Thank You!


                           Question & Answers Time!


  Felix Rieseberg                          Mihai Corlan

  http://felixrieseberg.com                http://corlan.org

  http://twitter.com/felixrieseberg        http://twitter.com/mcorlan

  felix.rieseberg@microsoft.com            http://github.com/mcorlan

Mais conteúdo relacionado

Mais procurados

#FirefoxOS Web App development@CID Nyári Egyetem 2013
#FirefoxOS Web App development@CID Nyári Egyetem 2013#FirefoxOS Web App development@CID Nyári Egyetem 2013
#FirefoxOS Web App development@CID Nyári Egyetem 2013
daf182
 

Mais procurados (20)

Building a mobile app connected to WordPress with WP-AppKit
Building a mobile app connected to WordPress with WP-AppKitBuilding a mobile app connected to WordPress with WP-AppKit
Building a mobile app connected to WordPress with WP-AppKit
 
Phonegap
PhonegapPhonegap
Phonegap
 
Introduction to polymer project
Introduction to polymer projectIntroduction to polymer project
Introduction to polymer project
 
Building resuable and customizable Vue components
Building resuable and customizable Vue componentsBuilding resuable and customizable Vue components
Building resuable and customizable Vue components
 
iPhone development or how to use the web for pretty much anything
iPhone development or how to use the web for pretty much anythingiPhone development or how to use the web for pretty much anything
iPhone development or how to use the web for pretty much anything
 
Xamarin Dev Days - Introduction to Xamarin
Xamarin Dev Days - Introduction to XamarinXamarin Dev Days - Introduction to Xamarin
Xamarin Dev Days - Introduction to Xamarin
 
Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGap
 
Wordpress as a Back Office for Mobile Applications
Wordpress as a Back Office for Mobile ApplicationsWordpress as a Back Office for Mobile Applications
Wordpress as a Back Office for Mobile Applications
 
Building Hybrid Apps with Ember
Building Hybrid Apps with EmberBuilding Hybrid Apps with Ember
Building Hybrid Apps with Ember
 
Adobe and Modern Web Development
Adobe and Modern Web DevelopmentAdobe and Modern Web Development
Adobe and Modern Web Development
 
Xamarin Dev Days - Introduction to Xamarin.Forms, Insights, Test Cloud
Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test CloudXamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Xamarin Dev Days - Introduction to Xamarin.Forms, Insights, Test Cloud
 
Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app develop...
Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app develop...Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app develop...
Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app develop...
 
Phonegap
PhonegapPhonegap
Phonegap
 
#FirefoxOS Web App development@CID Nyári Egyetem 2013
#FirefoxOS Web App development@CID Nyári Egyetem 2013#FirefoxOS Web App development@CID Nyári Egyetem 2013
#FirefoxOS Web App development@CID Nyári Egyetem 2013
 
Vue storefront London PWA meetup
Vue storefront London PWA meetupVue storefront London PWA meetup
Vue storefront London PWA meetup
 
Mobile Development with Adobe AIR
Mobile Development with Adobe AIRMobile Development with Adobe AIR
Mobile Development with Adobe AIR
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Mobile development strategies with MVVM
Mobile development strategies with MVVMMobile development strategies with MVVM
Mobile development strategies with MVVM
 
Python Developer Toolbox
Python Developer ToolboxPython Developer Toolbox
Python Developer Toolbox
 
Pender presentation 2.0
Pender presentation 2.0 Pender presentation 2.0
Pender presentation 2.0
 

Destaque (7)

Abhimanyu alekh deepak_fuzzy interfearence design
Abhimanyu alekh deepak_fuzzy interfearence designAbhimanyu alekh deepak_fuzzy interfearence design
Abhimanyu alekh deepak_fuzzy interfearence design
 
Developing maintainable Cordova applications
Developing maintainable Cordova applicationsDeveloping maintainable Cordova applications
Developing maintainable Cordova applications
 
Sistem Cerdas
Sistem CerdasSistem Cerdas
Sistem Cerdas
 
Phonegap/Cordova vs Native Application
Phonegap/Cordova vs Native ApplicationPhonegap/Cordova vs Native Application
Phonegap/Cordova vs Native Application
 
모바일 앱 개발을 위한 Agile 적용
모바일 앱 개발을 위한 Agile 적용모바일 앱 개발을 위한 Agile 적용
모바일 앱 개발을 위한 Agile 적용
 
Swift server-side-let swift2016
Swift server-side-let swift2016Swift server-side-let swift2016
Swift server-side-let swift2016
 
하이브리드앱 아키텍쳐 및 개발 사례
하이브리드앱 아키텍쳐 및 개발 사례하이브리드앱 아키텍쳐 및 개발 사례
하이브리드앱 아키텍쳐 및 개발 사례
 

Semelhante a PhoneGap/Cordova

Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
Mihai Corlan
 
Phonegap facebook plugin - Seoul & Tokyo
Phonegap facebook plugin - Seoul & TokyoPhonegap facebook plugin - Seoul & Tokyo
Phonegap facebook plugin - Seoul & Tokyo
Steve Gill
 
Phonegap facebook- plugin
Phonegap facebook- pluginPhonegap facebook- plugin
Phonegap facebook- plugin
Steve Gill
 
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
Maximiliano Firtman - Разработка приложений с помощью PhoneGap Maximiliano Firtman - Разработка приложений с помощью PhoneGap
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
.toster
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
davyjones
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Nick Landry
 
"Native" Apps with APEX and PhoneGap
"Native" Apps with APEX and PhoneGap"Native" Apps with APEX and PhoneGap
"Native" Apps with APEX and PhoneGap
Christian Rokitta
 
Hybrid Mobile Development with Apache Cordova and
Hybrid Mobile Development with Apache Cordova and Hybrid Mobile Development with Apache Cordova and
Hybrid Mobile Development with Apache Cordova and
Ryan Cuprak
 

Semelhante a PhoneGap/Cordova (20)

Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
 
Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
 
Phonegap facebook plugin - Seoul & Tokyo
Phonegap facebook plugin - Seoul & TokyoPhonegap facebook plugin - Seoul & Tokyo
Phonegap facebook plugin - Seoul & Tokyo
 
Phonegap facebook- plugin
Phonegap facebook- pluginPhonegap facebook- plugin
Phonegap facebook- plugin
 
fdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptxfdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptx
 
PhoneGap mobile development
PhoneGap mobile developmentPhoneGap mobile development
PhoneGap mobile development
 
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
Maximiliano Firtman - Разработка приложений с помощью PhoneGap Maximiliano Firtman - Разработка приложений с помощью PhoneGap
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
 
Cordova and PhoneGap Insights
Cordova and PhoneGap InsightsCordova and PhoneGap Insights
Cordova and PhoneGap Insights
 
PhoneGap talk from Singapore
PhoneGap talk from SingaporePhoneGap talk from Singapore
PhoneGap talk from Singapore
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
Mobile Enablement And Intelligence
Mobile Enablement And IntelligenceMobile Enablement And Intelligence
Mobile Enablement And Intelligence
 
phonegap_101
phonegap_101phonegap_101
phonegap_101
 
"Native" Apps with APEX and PhoneGap
"Native" Apps with APEX and PhoneGap"Native" Apps with APEX and PhoneGap
"Native" Apps with APEX and PhoneGap
 
Hybrid Mobile Development with Apache Cordova and
Hybrid Mobile Development with Apache Cordova and Hybrid Mobile Development with Apache Cordova and
Hybrid Mobile Development with Apache Cordova and
 
Introduction phonegap
Introduction phonegapIntroduction phonegap
Introduction phonegap
 
Advanced programing in phonegap
Advanced programing in phonegapAdvanced programing in phonegap
Advanced programing in phonegap
 
PhoneGap
PhoneGapPhoneGap
PhoneGap
 
NCDevCon 2017 - Cross Platform Mobile Apps
NCDevCon 2017 - Cross Platform Mobile AppsNCDevCon 2017 - Cross Platform Mobile Apps
NCDevCon 2017 - Cross Platform Mobile Apps
 
Building Cross-Platform Mobile Apps
Building Cross-Platform Mobile AppsBuilding Cross-Platform Mobile Apps
Building Cross-Platform Mobile Apps
 

Mais de Mihai Corlan (9)

Introduction to Adobe Shadow
Introduction to Adobe ShadowIntroduction to Adobe Shadow
Introduction to Adobe Shadow
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
 
Debugging mobile websites and web apps
Debugging mobile websites and web appsDebugging mobile websites and web apps
Debugging mobile websites and web apps
 
Mobile Development With Flash Platform
Mobile Development With Flash PlatformMobile Development With Flash Platform
Mobile Development With Flash Platform
 
Getting started with flash mobile development
Getting started with flash mobile developmentGetting started with flash mobile development
Getting started with flash mobile development
 
Flash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentFlash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile development
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
Adobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & TricksAdobe AIR - Mobile Performance – Tips & Tricks
Adobe AIR - Mobile Performance – Tips & Tricks
 
Adobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBookAdobe AIR Mobile development for Android and PlayBook
Adobe AIR Mobile development for Android and PlayBook
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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...
 
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...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 

PhoneGap/Cordova

  • 1. PhoneGap / Cordova HTML5 Apps on all Major Platforms Felix Rieseberg Developer Evangelist, Microsoft Mihai Corlan Developer Evangelist, Adobe
  • 2. About Us Felix Rieseberg §  Microsoft Developer Evangelist §  http://felixrieseberg.com §  http://twitter.com/felixrieseberg §  felix.rieseberg@microsoft.com Mihai Corlan §  Adobe Web Developer Evangelist §  Blog: http://corlan.org §  Twitter: mcorlan §  Email: mcorlan@adobe.com 2
  • 3. Let’s talk Mobile Development 3
  • 6. 6 §
  • 7. Cordova summarized so far Develop once, deploy everywhere. Chromeless browser WebApp & API Bridge Native Package 7
  • 8. Cordova supports 7 platforms
  • 10. Demo
  • 11. How does Cordova work? Cordova App Mobile Device Cordova Cordova JavaScript Native Engine Engine Access to native mobile Your Code features HTML/JavaScript/CSS/Images/ Frameworks/Libraries Web View Renders the app UI
  • 12. Cordova Plug-ins §  http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins §  Examples of plugins: https://github.com/purplecabbage/phonegap-plugins §  Extend the built-in functionality with custom plug-ins §  Delegate heavyweight data processing to native code §  Create background services
  • 14. Build your Cordova app as you’d build a regular web app §  Using your favorite editors (Eclipse, vim, Dreamweaver, Visual Studio) §  Test and debug the app using your desktop browser §  Test and debug the app using mobile simulators/emulators and the physical devices
  • 15. What can you use to build your app? §  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 §  Pay attention to performance (mobile vs. desktop) §  Pay attention to mobile browser features or lack of them (I am talking about SVG)
  • 16. 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
  • 17. Using the 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
  • 18. 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
  • 19. 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
  • 20. Thank You! Question & Answers Time! Felix Rieseberg Mihai Corlan http://felixrieseberg.com http://corlan.org http://twitter.com/felixrieseberg http://twitter.com/mcorlan felix.rieseberg@microsoft.com http://github.com/mcorlan