PhoneGap Application Development Demo ExampleNote: Create a folder www in assets folder and create index.html file within www folder. Also copy cordova.js file and paste within www folder.
-Follow this PhoneGap directory path (phonegap-2.9.0\phonegap-2.9.0\lib\android) to get cordova.js file and cordova-2.9.0.jar file past this jar file within libs folder of your project.
After run at first time phonegap application i got error ( [2014-12-08 22:05:20 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/squareup/okhttp/Address;
[2014-12-08 22:05:20 - AndroidPhoneGap] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/squareup/okhttp/Address; )
After Googling i got solution right click on project click on property->go to Java Built Path-> click on (Order and Export) tab and uncheck Android 4.4, Android Private Libraries and Android Dependencies. and click on ok then run app.