PGT is a tool created to simplify and accelerate the creating/building/deploying/running of an Android based application.
Add an alias to the PGT folder:
alias pgt="~/Tools/PhoneGap-Tools/pgt"
Change the CALLBACK_ANDROID_PATH
in the config file
- -path : specify the project path for external calls
- -target : specify the target device(default: first connected device, available: "device", "emulator", @"device_name")
- -help : activate the help
- -log : specify the log(default: "debug", available: "phonegap")
- -no-log : desactivate the logs
- -no-phonegap : not a phongap project (pgt should be used in the application folder)
- -activity : specify the application main activity (default: name of the parent folder)
- -package : specify the application package (default: com.activity_tolowercase | com.phonegap.activity_tolowercase if it's a phonegapproject)
- -phonegap-version : specify the phonegap version (default: 1.3.0)
- -builder : specify the custom builder (default: false)
- -www-folder : specify the folder used for the assets (default: false)
- -debug : forcing compilation mode debug (overrided in pgt debug)
- -release : forcing compilation mode release (overrided in pgt release)
pgt create
pgt config
pgt set
pgt set -target "my_emulator" -package "my_package"
pgt build
pgt compil
pgt clean
pgt deploy
pgt run
pgt debug
pgt release
pgt stop
pgt uninstall
pgt devices
pgt devices restart
pgt devices stop
pgt devices start
pgt debug -target "myemulator" -path "my/application/path/" -apk "my/apk/path"