Phone Gap for Android on a Windows machine.
Download and install PhoneGap
Download link- http://phonegap.com/install/
Download Phone Gap Latest version and install in eclipse
Steps:
Launch Eclipse, and then, from the File menu, select New -> Android Project.
In the root directory of the project, create two new directories:
/libs
/assets/www
Copy phonegap.js from your PhoneGap download earlier to /assets/www.
Copy phonegap.jar from your PhoneGap download earlier to /libs.
Now, you must make the following adjustments to the project’s main Java file found in the
src folder in Eclipse
Change the class extend from Activity to DroidGap.
Replace the setContentView() line with
super.loadUrl(“file:///android_asset/www/index.html”);.
Add import com.phonegap.*;.
Create your own Phone Gap Android Application..
Thank You........
No comments:
Post a Comment