baniol
11/11/2012 - 11:51 AM

run phonegap project build

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