Getting Started PhoneGap with Android
This guide describes how to set up your development environment for Cordova and run a sample application. Note that Cordova used to be called PhoneGap, so some of the sites still use the old PhoneGap name. 1. Requirements Eclipse 3.4+ 2. Install SDK + Cordova Download and install Eclipse Classic Download and install Android SDK Download and install ADT Plugin Download the latest copy of [ PhoneGap and extract its contents. We will be working with the Android directory. 3. Setup New Project Launch Eclipse, and select menu item New > Android Project . Fill out the three panels of the New Android Project wizard shown below. In the root directory of your project, create two new directories: /libs assets/www Copy cordova-1.8.0.js from your Cordova download earlier to assets/www Copy cordova-1.8.0.jar from your Cordova download earlier to /libs Copy xml folder from your Cordova download earlier to /res Verify that cordova-1.8.0.jar