Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what can you do with native iPhone development and you can't using phoneGap?

Tags:

cordova

I am trying to understand how powerful is really phonegap. Can I also create iPad apps using phoneGap?

like image 277
Ryan Avatar asked Oct 10 '11 22:10

Ryan


People also ask

What are PhoneGap limitations?

Plugins could be outdated. The next limitation is that the plugins of the PhoneGap can be outdated after using it. It can affect application functionality. We don't have plugins for certain features like geolocation, camera, etc.

What is the purpose of using PhoneGap?

PhoneGap is an Open Source framework that helps build hybrid applications which work on most mobile platforms such as Android, iOS, Blackberry, Windows Phone among others. Framework provides a container that bridges the native APIs to the web view.

What are the tools required to develop the PhoneGap application for Android?

Android: Android SDK, ADT plugin. BlackBerry: Sun SDK, Apache ant and BlackBerry Webworks SDK.

Is PhoneGap cross platform?

COMPATIBILITY THAT IS CROSS-PLATFORMPhoneGap is a dependable cross-platform framework and it is consistent with several other platforms for application development such as Blackberry, Bada, Tizen, Symbian, iOS, WebOS and Android.


1 Answers

There are a lot of things that you can do with native development that you cannot do with PhoneGap. It would take a few volumes to do a full comparison.

That said, there are also things you can do with PhoneGap that you can't do with Native Development. The most important of which is supporting multiple platforms with a single code base.

Both native development and cross-platform tools (PhoneGap, Adobe AIR, Titanium) have their place. There may be times that you need the power and precision of native development (intense graphics, etc), and there may be times when you need the power and cross-platform features of PhoneGap.

I've said on here before, I am a lone developer with a need to develop applications for multiple platforms. I do not have the time to try to maintain an App for iOS, Android, and Blackberry. PhoneGap and the other choices are ideal for my situation. I am not writing games or other graphically intense games. I am not doing anything processor intensive nor do I need to talk directly to hardware through sockets. I am writing enterprise applications to support my end users on a wide variety of platforms and PhoneGap and Adobe AIR are exactly what I need.

And, on the occasion that either PhoneGap or AIR cannot do what I need out-of-the-box, in many cases I could write a custom plugin or extension in native code to hook into my app. Of course, I would have to write the plugin/extension separately for each platform, but that is leaps-and-bounds easier than having to write the whole application for each platform.

Ultimately, it depends on what you need to do. If you cannot accomplish what you need to accomplish with a cross-platform tool, then don't use it. If you only care about supporting one platform (and are sure you will never need to support others), then maybe native is for you (not that you can't use PhoneGap to develop for just one platform). If you are an elitist fanboy then native might also be for you. It's also possible you have more time than sense. Whatever your reason, use what meets your needs.

For me, I cannot imagine any application I would need to write for my work that would require me to write a native application without using one of the cross-platform tools. So for me it is PhoneGap and/or Adobe AIR all the way.

Oh, and Yes, you can write iPad applications with PhoneGap.

like image 51
Jason Dean Avatar answered Sep 24 '22 00:09

Jason Dean