Created
November 11, 2012 11:51
-
-
Save baniol/4054671 to your computer and use it in GitHub Desktop.
run phonegap project build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PG_DIR=/home/baniol/PhoneGapProjects/todo_curl/ | |
PG_APP_NAME=todo | |
PG_PACKAGE_NAME=com.baniowski.todo | |
PG_CLASS_NAME=Todo | |
#PG_CLASS_NAME=$PG_APP_NAME^ | |
cd $PG_DIR; | |
ant clean; | |
ant debug; | |
adb install -r $PG_DIR/bin/$PG_APP_NAME-debug.apk | |
adb shell am start -n $PG_PACKAGE_NAME/.$PG_CLASS_NAME | |
adb logcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment