User Tools

Site Tools


dev:cordova

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dev:cordova [2015/04/02 16:57] – creata lettidev:cordova [2015/05/04 10:11] (current) – [INSTALL] letti
Line 7: Line 7:
 [[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_cli_index.md.html | Cross-platform ]]
 [[http://cordova.apache.org/docs/en/4.0.0/guide_platforms_index.md.html | Platform-centered]] [[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=<device-code-here>
 +
dev/cordova.1427993833.txt.gz · Last modified: 2015/04/02 16:57 by letti