This article is mainly about building Cordova environment under the Win7, do some basic configuration.
The first thing to do is Nodejs, if you haven't downloaded the dot here
http://www.nodejs.org/
Choose your own version of the OS to download,
The installation process can choose Next or the path itself to change, OK, and then view the version test success
Install the template with NPM Install-g Express NPM install-g Cordova
Install success also get version number;
If it is global, it should be in the environment variable
If there is no words, you manually add the slightly;
Install ant at this point, if you can't find the installation package download here http://ant.apache.org/bindownload.cgi
Download the appropriate files to unzip or install, zip the need to unzip and then change the PATH environment variable to add
After a successful DOS window shut down and reopen, run Cordova
That proves that you've been configured to succeed, just the rest of the build project,
Cordova Project name Com.test.hello "APK package name"
Cordova Paltform Add platform name (android|ios|bb|xim| ... );
Cordova Plugin add Org.apache.cordova. Geolocation referencing plugins
1.cordova Build Android Create app
2.cordova emulate Android simulator running;
3.cordova serve Android server running localhost:8000
4.Cordova Run Android running the real machine
If you need to manually install the app package name in Platform->android->ant-build to install to mobile,
HTML files are stacked below the WWW folder,
http://cordova.apache.org/in-depth learning Cordova plug-ins, ok HelloWorld to here.