What are the advantages and disadvantages of using Phonegap and Titanium? [closed]
Asked Answered
G

2

27

I am planning to create a cross platform application which works in Android, iPhone and Blackberry? I thought of using Phonegap or Titanium. My questions are as these:

  • Whether in cross platform if it is possible to achieve all the native behavior of all phone models, something like in Android menu and iPhone gestures?
  • Apart from cross-platform advantage, what are other advantage do it have?
  • What are the disadvantages? Is there any limitation when it comes to comparing to native app?
  • Whether I can use same code without any modification in all the devices or i have to change the code with respective to device identified dynamically?
Gaskell answered 14/12, 2010 at 9:34 Comment(4)
this topic has plenty of responses in StackOverflow already; I would suggest a simple search of the forum for a good overview. Then if you have a more specific question post thatSienkiewicz
@Aaron Saunders: Thank You.i think i am poor in searching in SO.i couldn't get answers releated to these particular questions!could u please post any link if possible.most of the topic is not exactly releated to these questions in SO.Gaskell
possible duplicate of Comparison between Corona, Phonegap, TitaniumFarmann
https://mcmap.net/q/535201/-should-i-learn-native-ios-development-objective-c-or-perfect-my-knowledge-in-javascript-and-titanium-appcelerator-closedMaymaya
L
8

Previous discussion on Stackoverflow: Comparison between Corona, Phonegap, Titanium

A good clear explanation from Jonathan Stark: http://jonathanstark.com/blog/2010/04/05/phonegap-vs-titanium-mobile-et-al/

In terms of your questions:

To check which native features are available for each framework you will need to check the API docs of each of the frameworks: The phonegap ones are here http://docs.phonegap.com/

The advantages/disadvantages I think are covered in the two links above.

It will depend what you are doing but I imagine you will have some differences in your code for each platform.

Hope that helps!

Lindie answered 20/12, 2010 at 9:39 Comment(0)
H
6

Following are the answers to your question, hope this will help some one.

Whether in cross platform if it is possible to achieve all the native behavior of all phone models, something like in Android menu and iPhone gestures?

No it will not supprot all the native featrues using Phonegap the look and feel remains like web. If you go for titaniam (I have done for one project) some features we need to write cusotm native code to achieve it. If you are doing this you have to do for both platforms iPhone an Android. Also the Titaniam will generate a lot of native code. So, my suggestion is either go to Native or go to Phonegap.

Apart from cross-platform advantage, what are other advantage do it have?

Apart from cross-platfrom the main advantage is the custom controls, for example if you are doing a custom tab bar that looks different than the native it will be hard to do in native you have to write more code for that. In Phonegap as it is web you an do what you want.

What are the disadvantages? Is there any limitation when it comes to comparing to native app?

As I told before, the UI will look like a web UI and some important features cannot be achieved. See this SO link for more information

Whether I can use same code without any modification in all the devices or i have to change the code with respective to device identified dynamically?

Yes you can do, but I have not done this yet. See this link some code change should be done with respect to the device type.

I hope this will help some one

Homemaking answered 22/2, 2013 at 14:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.