1.安装node.js 后检测node安装是否成功
npm
2.下载安装cordova
npm -g install cordova
3.检测cordova安装是否成功
cordova
4.创建包名 com.test.helloworld的hello项目
cordova create hello com.test.helloworld
5.切换到项目目录
cd hello
6.添加android运行时
cordova platform add android
7.编译构建
cordova build
8.运行
cordova run
9.很多插件http://cordova.apache.org/plugins/
10.打开http://cordova.apache.org/docs/en/latest/guide/overview/
点击Plugin APIs=》点击Device
待续。。。