Introduction to PhoneGap

What is PhoneGap?
It is a bridge platform between browser of a device and native control of device, it is based on advantage that every mobile operating system provides a Web View interface for its application like UIVewView in iOS.

PhoneGap basically generates native wrappers for what are still web apps. It spits out a WhateverYourPlatformIs project, you build it, and deploy. If we're talking about the iPhone, it doesn't seem much different from creating a web app launcher (a shortcut that gets its own Springboard icon, so you can launch it like a native app). The "app" itself is still html/js/etc., and runs inside a hosted browser control. What PhoneGap provides beyond that is a bridge between JavaScript and native device APIs. So, you write JavaScript against PhoneGap APIs, and PhoneGap then makes the appropriate corresponding native call. In that respect, it is different from deploying a plain old web app.
A PhoneGap app is Web bpp in the wrapper of Native App. We build it we deploy it all like a native app but the interface is in HTML5.

Benefits of PhoneGap App over Native App?
We have to write a single web app for all mobile devices with native supports like Camera, GPS and other device features with a better responce to shake and touch gesture of device. We can deploy on most of Smartphone OS like Android, iOS etc. like a native app and can sell on their marketplace, with out the deep knowledge of native languages of device like JAVA, Objective C and J2ME and their SDK. You can also create Native Plugins for extra support of device's features.
Basically any function that the mobile phone SDK provides can be "bridged" to the javascript world. On the other hand, a normal web app that runs on the mobile web browser does not have access to most of these functions (security being the primary reason). Therefore, a PhoneGap app is more of a mobile app than a web app.

Drawbacks of PhoneGap
Slightly poor performance as compare to native application. Needs wide knowledge of JS and HTML5 for a better result. Lack of Native support Plugins.

Why PhoneGap?
If you want to write an app using web dev skills that you could realistically deploy to multiple platforms (iPhone, Android, Blackberry, and whatever else they decide to include), and if you want access to a subset of native platform features (GPS, accelerometer, etc.) through a unified JavaScript API, PhoneGap is probably what you want, and also because you can submit your PhoneGapp to the App Store and charge for it.

Useful Links
Official website:

Post a Comment