HelloAndroid sample is moved to samples/android

This commit is contained in:
Andrey Kamaev
2011-07-01 13:12:05 +00:00
parent e005570719
commit f8e42721d3
9 changed files with 28 additions and 27 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
cd `dirname $0`
PROJECT_NAME=hello-android
# copy file to device (usually takes 10 seconds or more)
adb push ./bin/$PROJECT_NAME /data/bin/sample/$PROJECT_NAME || return
# set execute permission
adb shell chmod 777 /data/bin/sample/$PROJECT_NAME || return
# execute our application
adb shell /data/bin/sample/$PROJECT_NAME || return
# get image result from device
adb pull /mnt/sdcard/HelloAndroid.png || return