Download phonegap from

Create a New Android Project in Eclipse

Create www directory under assets folder

Copy cordova-2.7.0.js to www directory

Copy cordova-2.7.0.jar to libs directory. Right Click on this jar file and add this to the Build Path

Create a new index.html file in the www directory and add the following code :

Open file and modify the code as mentioned below :

Open AndroidManifest.xml file and add the following code :

Create a New AVD – follow these Steps

Goto Run Configurations and Choose a AVD

Now, you can Run your Application !

You will see the result on your AVD.