Your SlideShare is downloading. ×
PhoneGap
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

PhoneGap

5,702
views

Published on

Published in: Technology, Education

0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
5,702
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
493
Comments
0
Likes
11
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. What is PhoneGap The PhoneGap History Doncho Minkov Telerik Mobile Development Course mobiledevcourse.telerik.com Technical Trainer http://www.minkov.it
  • 2. Table of Contents
    • What is PhoneGap
    • How does it work?
    • PhoneGap + DW
    • Pros and Cons
    • Conclusion
  • 3. What is PhoneGap? Multiplatform Development Framework
  • 4. What is PhoneGap
    • PhoneGap is an open-source mobile development framework
      • Developed by Nitobi Software
      • Bought by Adobe
    • Enables building of mobile device applications using JavaScript , HTML and CSS
      • Ruby can be used as well
      • Instead of often less-known languages such as Objective-C
  • 5. PhoneGap Applications
    • The PhoneGap applications are hybrid
      • They are neither truly native nor purely web based
        • All layout rendering is done via the web view instead of Objective-C
        • Much of the functions of HTML5 are supported
    • A disadvantage is that hybrid applications do not have full access to the device API
      • Camera , compass , accelerometer , etc.
  • 6. Supported Platforms
    • PhoneGap currently supports development for the following operating systems
      • iOS , Android , webOS , Windows Mobile , Symbian OS and BlackBerry , Windows Phone 7 Mango
      • Bada support is "coming soon"
        • The OS used by the Samsung Wave S8500
  • 7. How does it work?
    • Build your app once with web-standards
      • Based on HTML5
    • Wrap it up with PhoneGap
      • Using the free open source framework or PhoneGap build
      • You can access the native APIs
    • Deploy to multiple platforms
      • Standards-based web technologies to bridge web applications and mobile devices
  • 8. Means of Development
  • 9. Means of PhoneGap Development
    • PhoneGap is just a library that you must include in your app
      • Couple of JavaScript and xml files
    • What is PhoneGap doing?
      • PhoneGap generates a out-of-the-browser window that executes the HTML and JavaScript
      • Due to a couple of xml and jar/dll files it enables the usage of native APIs
  • 10. Where Can we Develop?
    • Native IDE for the corresponding OS
      • Eclipse, Xcode, Visual Studio, etc.
      • Abode launched a new version of Dreamweaver that integrates with PhoneGap
        • Build the web site
        • Add the mobile SDKs
        • Say it is mobile app
        • Build and deploy
    • In both the concrete OS SDK must be present
  • 11. Pros and Cons Of PhoneGap Development
  • 12. Pros of PhoneGap Development
    • HTML5, CSS and JavaScript skills vs. Objective-C, Java and C#
    • Single code base for all platforms
      • iOS, Android, WP 7 Mango, mobile web
    • You can take advantage of distribution and integrated payment
      • Via the App Store or Android Market
  • 13. Cons of PhoneGap Development
    • Poor performance
      • If your app is graphically intense, i.e. a game.
      • Caching or leveraging some 3 rd party solutions may be implemented with native graphics
      • For the most part a native app is much faster/smoother than mobile web app
  • 14. Cons of PhoneGap Development (2)
    • Lack of pre-built UI widgets, transitions, standard controls, etc.
      • Your development time can take longer
        • Especially if you want a polished-looking app with a native look and feel
  • 15. Conclusion
    • PhoneGap is a cross-platform mobile development framework
      • Based on HTML5 and JavaScript
      • Using web standards
    • PhoneGap is useful
      • For creation of small apps
      • When there is a lack of human resources
        • Need a single app deployed on many OS
    • Native app developments is always better!
  • 16. PhoneGap