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,146   
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)
11 MAR
ASP.NET MVC with Angular2 Development (Online)

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

Know More
6 MAR
Master Class Fast Track MVC 5 with Angular2 Development (Online)

10:30 AM -03:30 PM IST (Fast Track)

Know More
6 MAR
Angular 2 Master Class Fast Track Online Development Training (Online)

10:30 AM- 01:30 PM IST

Know More
27 FEB
ASP.NET MVC with Angular2 Development (Online)

07:00 AM - 09:00 AM IST( MON, WED, FRI)

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

05:00 PM-06:30 PM

Know More
25 FEB
Xamarin Forms : Build Cross-platform Apps (Classroom)

3:00 PM-4:30 PM IST

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

3:00 PM-4:30 PM

Know More
14 FEB
.NET Development (Classroom)

11:00 AM-12:00 PM

31 JAN
ASP.NET MVC with Angular2 Development (Online)

07:00 AM-09:00 AM IST(Tuesday & Thursday)

30 JAN
NODEJS & MEAN Stack 2.x Development (Online)

09:00 PM-11:00 PM IST( MON, WED, FRI)

15 JAN
PPC Marketing (Classroom)

04:00 PM-05:30 PM

10 JAN
ASP.NET MVC with AngularJS Development (Online)

09:00 PM-11:00 PM IST on (TUE, THRU,SAT)

31 DEC
ASP.NET MVC with AngularJS Development (Classroom)

09:30 AM-11:00 AM

5 NOV
ASP.NET MVC with AngularJS Development (Classroom)

08:00 AM-09:30 AM

BROWSE BY CATEGORY
 
 
LIKE US ON FACEBOOK
 

Professional Speaks

+