cordova-android/README.md

31 lines
1.2 KiB
Markdown
Raw Normal View History

2010-01-27 15:00:21 -08:00
PhoneGap/Android
================
PhoneGap/Android is an Android application library that allows for PhoneGap based projects to be built for the Android Platform. PhoneGap based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.
2009-11-24 15:11:32 -08:00
Pre-requisites
2010-01-27 15:00:21 -08:00
--------------
- Java JDK 1.5
- Android SDK Package [http://developer.android.com](http://developer.android.com)
- Apache ANT
- Ruby
2009-11-24 15:11:32 -08:00
2010-01-27 15:00:21 -08:00
Recommended
-----------
- Eclipse (Great for debugging and extending PhoneGap/Android with your own Java plugins.)
2009-11-24 15:11:32 -08:00
2010-01-27 15:00:21 -08:00
Getting Started with PhoneGap/Android
2009-12-22 16:01:54 -08:00
--------------------------------------
2010-01-27 15:00:21 -08:00
1. From the root of this repo run the following command:
./droidgap <android_sdk_path> <name> <package_name> <www> <path>
2010-01-27 15:00:21 -08:00
Params
2010-01-21 00:22:39 -08:00
8. Now you can use the generated Android code that is located in the 'path' directory from the above step and do what you want with it: import into Eclipse to test with the simulator or otherwise.
2009-12-22 16:01:54 -08:00
Using Eclipse with PhoneGap
-------------------------------------------------------------
2010-01-21 00:22:39 -08:00
The wiki article to get started with Eclipse can be found at [http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse](http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse)