Skip to content

Instantly share code, notes, and snippets.

@baniol
Created November 11, 2012 11:51
Show Gist options
  • Save baniol/4054671 to your computer and use it in GitHub Desktop.
Save baniol/4054671 to your computer and use it in GitHub Desktop.
run phonegap project build
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