Updated build scripts for HelloAndroid sample.

This commit is contained in:
Andrey Kamaev
2011-05-28 18:42:58 +00:00
parent eadb3bad45
commit 166bfdda45
4 changed files with 29 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
#!/bin/sh
cd `dirname $0`
PROJECT_NAME=HelloAndroid
OUT_DIR=armeabi
# copy file to device (usually takes 10 seconds or more)
adb push ./bin/armeabi/$PROJECT_NAME /data/bin/sample/$PROJECT_NAME || return
adb push ./bin/$OUT_DIR/$PROJECT_NAME /data/bin/sample/$PROJECT_NAME || return
# set execute permission
adb shell chmod 777 /data/bin/sample/$PROJECT_NAME || return