mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Updating README
This commit is contained in:
parent
4500dd13dc
commit
6cd6211dab
29
README.md
29
README.md
@ -9,20 +9,25 @@ Pre-requisites
|
||||
* Java JDK 1.5
|
||||
* Android SDK Package [http://developer.android.com](http://developer.android.com)
|
||||
* Apache ANT (For build script)
|
||||
* Eclipse (Recommended, not required)
|
||||
|
||||
Build from Command Line
|
||||
-------------------------------------------------------------
|
||||
ant phonegap_debug or ant phonegap_release
|
||||
Recommended:
|
||||
----------------------------------------------------------------
|
||||
* Ruby, Rubygems (for build.rb)
|
||||
* Eclipse (Recommended for back-end debugging, not required)
|
||||
|
||||
Getting Started with Eclipse
|
||||
Getting Started from Command Line
|
||||
--------------------------------------
|
||||
Step 1: cd framework && ant jar
|
||||
Step 2: In the root directory, run:
|
||||
|
||||
ruby build.rb <app-name> <package_name> <wwwdir> <path>
|
||||
|
||||
app-name: Name of application without spaces
|
||||
package name: Java namespace of package ( i.e. com.nitobi.demo)
|
||||
www-dir: www directory which includes an icon.png file for the icon
|
||||
path: The path you wish to put your PhoneGap Application
|
||||
|
||||
Using Eclipse with PhoneGap
|
||||
-------------------------------------------------------------
|
||||
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)
|
||||
|
||||
Android 1.5
|
||||
------------------------------------------------------------
|
||||
The Android 1.5 Branch contains a 1.5 version of PhoneGap. This should
|
||||
be used for carriers who do not currently have Android 1.6 or newer devices
|
||||
offered.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user