Maurus Cuelenaere | 34fb311 | 2010-11-05 16:17:25 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | ADB="$ANDROID_SDK_PATH/tools/adb" |
Antoine Cellerier | a448d8b | 2011-01-24 17:06:04 +0000 | [diff] [blame] | 3 | if [ ! -e $ADB ] |
| 4 | then |
| 5 | # Starting with the gingerbread sdk, the adb location changed |
| 6 | ADB="$ANDROID_SDK_PATH/platform-tools/adb" |
| 7 | fi |
Maurus Cuelenaere | 34fb311 | 2010-11-05 16:17:25 +0000 | [diff] [blame] | 8 | |
Thomas Martitz | f7c83ff | 2010-11-12 22:00:36 +0000 | [diff] [blame] | 9 | $ADB install -r rockbox.apk |
Thomas Martitz | f5a461d | 2010-12-10 18:41:09 +0000 | [diff] [blame] | 10 | echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell |