User Tools

Site Tools


dev:cordova

CORDOVA DEVELOPMENT GUIDE

INSTALLATION

Cross-platform 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.txt · Last modified: 2015/05/04 12:11 by letti