Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning on developing an app on multiple platforms and I'm thinking that PhoneGap might be perfect for me. I had been reading that it's one codebase for all platforms but looking at the PhoneGap guide it seems there are separate instructions for each platform. So if i want to develop for iOS, Android, BB and WP7 I need to write 4 different sets of code? I'm sure i'm missing something fundamental here.

Aside from that, how do people usually approach a PhoneGap build? You obviously / probably want the finished app to look like a native app - is it more common than not to use jQuery Mobile together with PhoneGap?

Is there a preferred IDE? I see, in the guide, for iOS they seem to suggest Xcode. I'm fine using Xcode but it seems a bit overkill for HTML & CSS. Do I need to develop in Xcode and if not how do i approach it? Use a different IDE / Text Editor and then copy paste into Xcode for building and testing?

I know this question is long-winded and fundamental but it something which i don't think is properly addressed in the guides.


share|improve this question
Take a look at this article (…) - it greatly explains what are the benefits of PhoneGap and related toolkit (Jquery mobile etc). It also shows how much code will be actually reused for different platforms. I found the results trustworthy while developing mobile solutions myself. – Arthur P Oct 10 '12 at 15:53
up vote 5 down vote accepted

Phonegap only provides the framework for shared code on different platforms. In order to build the app for each platform you have to use the native toolsets so; Visual Studio for WinPhone, XCode for iOS, Eclipse w/ Android SDK for Android, etc.

You can reuse all your PhoneGap code but you need to create projects on each platform to build and submit the apps to the appropriate mobile stores.

share|improve this answer
If you yourself have experience, can you describe your general approach? Develop in Xcode, Eclipse and Visual Studio? Would you generally use jQuery Mobile too or a different framework? Thanks for your answer by the way. – garethdn Oct 10 '12 at 9:37
You can now build from Adobe's online PG build service. You'll still need stuff like an iOS dev account but you can build without bringing the app up in each IDE. – Erik Reppen Nov 23 '13 at 0:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.