Please enable Javascript to correctly display the contents on Dot Net Tricks!

What is PhoneGap and Why to use it?

  Author : Shailendra Chauhan
Posted On : 25 Jul 2014
Total Views : 14,600   
Updated On : 26 Sep 2016
 

PhoneGap is a free and open source framework, developed by Nitobi and purchased by Adobe in 2011. It is based on the open source Apache Cordova project, developed by Adobe. PhoneGap allows you to develop applications for your mobile devices by using standard web technologies such as HTML5, CSS3, and JavaScript instead of using device-specific languages such as Objective-C for iOS, Java for Andriod and C# for Windows phone devices.

The apps developed using PhoneGap are Hybrid apps that provide advantages of both – native and web apps. Also, PhoneGap supports iOS, Google, Android, HPwebOS, Windows Mobile, Symbian and Blackberry Operating Systems.

Why PhoneGap?

PhoneGap allow you to develop cross-platform mobile Apps by avoiding each mobile platform native development language. PhoneGap applications are executed within a wrapper targeted to each platform. This wrapper wrap up standard web technologies such as HTML, CSS and JavaScript and extends the features of HTML and Java script to work with the device. PhoneGap allows you to access mobile native features and functionality such as Contacts, Calendar, Camera and Notification etc. by using Apache Cordova.

In this way the resulting apps are hybrid apps i.e. they are neither truly native nor purely web-based, since they are developed by using standard web technologies like as web application and also capable to access mobile native features like as native apps.

Apache Cordova

Apache Cordova a free and open source platform, developed by Adobe System for building native mobile applications using HTML, CSS and JavaScript. Typically it is a set of device APIs that allows you to access native device function such as the camera or accelerometer from JavaScript. It is available for the following platforms: iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian. It is used with PhoneGap to access mobile native functions.

Advantage of PhoneGap

  1. Reduced development cost.

  2. Easy for web developers since it uses HTML5, CSS and JavaScript skills versus objective-C, Java and C# etc.

  3. Single code base for all platforms iOS, Android, Blackberry, Windows Phone, Bada, and Symbian.

  4. You can take advantage of distribution and integrated payment via the Apple app store or Google app store or Windows app store etc.

Disadvantage of PhoneGap

  1. Poor performance as compared to Native Apps

    • If your app is graphically intense, i.e. a game.

    • Caching or leveraging some 3rd party solutions may be implemented with native graphics

    • For the most part a native app is much faster/smoother than mobile web app

  2. Lack of pre-built UI

    • Lack of pre-built UI widgets, transitions, standard controls, etc.

    • Your development time can be longer, especially if you want a well-looking app with a native look & feel.

When to use PhoneGap?

  1. PhoneGap is a cross-platform mobile development framework based on HTML5, JavaScript and CSS.

  2. PhoneGap is useful for building Mobile apps that do not use the native features of phone extensively.

  3. It develop a single app deployed for many OS.

  4. When extensive usage of phone features is needed, then native app development is recommended.

What do you think?

I hope you will have better understanding of PhoneGap. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.



Free Interview Books
 
COMMENTS (0)
23 MAY
Xamarin Forms : Build Cross-platform Apps (Online)

09:00 PM-11:00 PM IST(+5.30 GMT)

Know More
5 MAY
ASP.NET MVC with Angular4 Development (Online)

06:30 AM-08:30 AM IST(+5.30 GMT)

Know More
29 APR
Xamarin Forms : Build Cross-platform Apps (Classroom)

5:00 PM-6:30 PM

Know More
29 APR
ASP.NET MVC with Angular2 Development (Classroom)

9:30 AM-11:00 AM

Know More
27 APR
ASP.NET Core Development (Online)

07:00 AM - 09:00 AM IST( TUS, THR)

Know More
22 APR
NodeJS Development (Classroom)

11:00 AM-12:30 PM

10 APR
Master Class ASP.NET MVC 5 with Angular2 Plus Angular4 Development (Online)

09:00 PM - 11:00 PM IST (M/W/F)

8 APR
MEAN Stack 2 Development (Classroom)

11:00 AM-12:30 PM

25 MAR
Xamarin Forms : Build Cross-platform Apps (Classroom)

8:00 AM-9:30AM

21 MAR
ASP.NET MVC with Angular2 Development (Online)

09:00 PM - 11:00 PM IST( TUS, THR, SAT)

25 FEB
ASP.NET MVC with Angular2 Development (Classroom)

03:30 PM-05:30 PM

24 FEB
Angular 2 with Type Script (Online)

09:00 PM-11:00 PM IST(Mon,Wed,Fri)

BROWSE BY CATEGORY
 
 
LIKE US ON FACEBOOK
 
+