Playing with PhoneGap? Make your projects even easier

This post is more than 2 years old.

The documentation for creating PhoneGap projects in Eclipse is pretty simple (link), but at 6 or so steps it isn't terribly difficult to make a mistake. While there doesn't seem to be an "official" plugin yet, you should check out the MDS PhoneGap Eclipse plugin. I installed this just now and it worked great. A few caveats though...

  • The plugin currently ships with PhoneGap 1.0, not 1.1. But if you download PhoneGap and extract it, you can point the plugin to the folder for 1.1 and it will make use of that.
  • The plugin will also automatically add jQuery Mobile or Sencha Touch. But the version of jQuery Mobile is quite old. I'd skip that option for now.

All in all - this took a 10 minute process that I had to pay particular attention to into a 2 minute process that even my kitten can do.

Edit: One thing I forgot to mention. When you create the project there will be an error. Open AndroidManifest.xml and remove this: android:xlargeScreens="true". That should clear up the bug that appears on project creation.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA