diff --git a/bin/create b/bin/create index 1d56114e..07d497a1 100755 --- a/bin/create +++ b/bin/create @@ -48,3 +48,7 @@ echo '' >> $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 diff --git a/bin/debug b/bin/debug index 55bb656a..962816f1 100755 --- a/bin/debug +++ b/bin/debug @@ -1,3 +1,4 @@ #! /bin/sh ant debug install +adb shell am start -n $(cat ./package-activity)