auto launching on debug

This commit is contained in:
brianleroux 2011-08-18 19:39:27 -07:00
parent 2f9060dd3e
commit ffdb240114
2 changed files with 5 additions and 0 deletions

View File

@ -48,3 +48,7 @@ echo '</manifest>' >> $PROJECT_PATH/AndroidManifest.xml
# copy in plugins.xml
mkdir -p $PROJECT_PATH/res/xml
cp ./bin/templates/plugins.xml $PROJECT_PATH/res/xml/plugins.xml
# leave the id for launching
touch $PROJECT_PATH/package-activity
echo $PACKAGE/$PACKAGE.$ACTIVITY > $PROJECT_PATH/package-activity

View File

@ -1,3 +1,4 @@
#! /bin/sh
ant debug install
adb shell am start -n $(cat ./package-activity)