All About Phonegap


Published on

Learn how phonegap can help you to create application for multiple framework.

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

All About Phonegap

  1. 1. Sarvajanik College of Engineering & TechnologyDr. R. K. Desai Marg, Opp. Mission Hospital, Athwalines, Surat. Master of Computer Application A Presentation On PHONEGAP Submitted To M.C.A Department, SCET in partial fulfilment for the degree of Master of Computer Application Gujarat Technological University Presented By Sushan R. Sharma (095310693013) Under The Guidance of Prof. Zankhana Panwala Prof. Jayna Ahuja Faculty @ SCET
  2. 2. Sushan R. Sharma 0953010693013 PhoneGap Bridging the gap between the web and mobile devices
  3. 3. AGENDUM PhoneGap: Inception Introducing PhoneGap What Is PHONEGAP? Why PhoneGap? Cross Platform Mobile Development How PhoneGap Works? The PhoneGap BUILD Service Advantages of using PhoneGap Disadvantages of using PhoneGap Conclusion References 3
  4. 4. PHONEGAP: INCEPTION Theres a storm brewing between Web-based and native app developers and its time to pick a side... “Native” Apps: Written in a programming language for a targeted operating system Apple iOS Devices: iOS SDK, using Objective-C Android Devices: Android SDK, using Java Web” Apps: Web-based applications written with traditional web programming languages HTML/CSS, JavaScript, PHP/.NET/JSP 4
  5. 5. 5
  6. 6. Introducing PhoneGap!!!! Applications built with PhoneGap are not just like normal mobile web sites. PhoneGap applications are able to interact with mobile device hardware, such as the Accelerometer or GPS, in ways that are unavailable to normal web applications. PhoneGap applications are also built and packaged like native applications, meaning that they can be distributed through the Apple App Store or the Android Market. 6
  7. 7. So What Is PHONEGAP??? Phonegap is an open-source mobile development framework developed by Nitobi Software and IBM. It enables all mobile developers to build applications for mobile devices using JavaScript, HTML and CSS. 7
  8. 8. Why PhoneGap??? Mobile development is a mess. Building applications foreach device--iPhone, Android, Windows Mobile etc requiresdifferent frameworks and languages. One day, the bigplayers in mobile may decide to work together and unifythird-party app development processes. Until then, PhoneGap will use standards-based webtechnologies to bridge web applications and mobile devices.Plus, because PhoneGap apps are standards compliant,they’re future-proofed to work with browsers as they evolve. PhoneGap is an open source implementation of openstandards. That means developers and companies can usePhoneGap for mobile applications that are free, commercial,open source, or any combination of these. 8
  9. 9. CROSS PLATFORM MOBILE DEVELOPMENT Blackberry Web OS Android Windowsphone7 iPhone PhoneGap Symbian 9
  10. 10. HOW PHONEGAP WORKS??? Build your app once with web-standards. Based on HTML5, PhoneGap leverages web technologies developers already know best... HTML and JavaScript. Wrap it with PhoneGap Using the free open source framework or PhoneGap build you can get access to native APIs. Deploy to multiple platforms! PhoneGap uses standards-based web technologies to bridge web applications and mobile devices. 10
  11. 11. HOW PHONEGAP WORKS?(Conti.) 11
  12. 12. Glance On The PHONEGAP BUILD Service Using PhoneGap we can create Build Native Web-apps. 12
  13. 13. Glance On The PHONEGAP BUILD Service(Conti.)There are some things the web does very well. There arealso some things native apps do very well. PhoneGapaims for the union of these. Write app using HTML, CSS or JavaScript. Upload it to the PhoneGap Build service. Get back app-store ready apps for Apple iOSAndroid, Palm, Symbian and BlackBerry. Current development to also support Windows, MeeGoand Bada. PhoneGap Build service is currently in beta testing andis free to register and use will remain free for open sourceprojects. 13
  14. 14. With PhoneGap you can, 14
  15. 15. Advantages of using PhoneGap You can use the single codebase for your cross platformapplications. You can leverage the hardware specific features suchas Geolocation, Vibration, Accelerometer, Contact Support andSound. Open source – can be altered or extended by anyone. Open Source community is actively contributing new moduleswhich can potentially save you time and money. Requires knowledge of common web technologies (HTML,CSS, JavaScript) rather than multiple distinct mobile platforms. Currently offers the widest major platform coverageamong other similar frameworks. 15
  16. 16. Limitations of using PhoneGap Since PhoneGap is designed to support multiple platforms, itwill not have the new features available as soon as they areavailable in the SDK. Essentially, it is always catching up. Several platform core features may still not be available viaPhoneGap. Just like any other Open Source platform / SDK, PhoneGapheavily relies on the community to contribute variousmodules. While these modules will work fine out of box, there may bechallenges with the support and maintenance with thosemodules. 16
  17. 17. Conclusion Platform-specific native applications seem to be slowly fading away into a niche or need-basis. HTML/JS is easier to deal with than Java (fact!) If you want to produce an app and/or deploy to multiple platforms at reasonable cost then PhoneGap is the way to go. 17
  18. 18. ReferencesAndrew Lunny, “PHONEGAP Beginner’s Guide”, 2011 Packt PublishingURL:URL: p/phonegap-URL: oneGap 18
  19. 19. 19