dev:cordova
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:cordova [2015/04/02 16:57] – creata letti | dev:cordova [2015/05/04 10:11] (current) – [INSTALL] letti | ||
---|---|---|---|
Line 7: | Line 7: | ||
[[http:// | [[http:// | ||
[[http:// | [[http:// | ||
+ | |||
+ | sudo npm isntall [-g] phonegap | ||
+ | |||
+ | ==== CREATE PROJCECT ==== | ||
+ | |||
+ | phonegap create hello -n HelloWorld -i com.example.hello | ||
+ | |||
+ | ==== BUILD ==== | ||
+ | |||
+ | PATH=$PATH: | ||
+ | |||
+ | 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=< | ||
+ |
dev/cordova.1427993833.txt.gz · Last modified: 2015/04/02 16:57 by letti