===== CORDOVA DEVELOPMENT GUIDE ===== [[http://cordova.apache.org | Apache Cordova]] ==== INSTALLATION ==== [[http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html | Cross-platform ]] [[http://cordova.apache.org/docs/en/4.0.0/guide_platforms_index.md.html | Platform-centered]] sudo npm isntall [-g] phonegap ==== CREATE PROJCECT ==== phonegap create hello -n HelloWorld -i com.example.hello ==== BUILD ==== PATH=$PATH:~/android-sdk/android-sdk-linux/platform-tools:~/android-sdk/android-sdk-linux/tools phonegap -V build android ==== INSTALL ==== Intall on device: Makes use of `adb` to detect plugged devices. If only one device is plugged: * phonegap run android otherwise: * phonegap run android --device=