summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rwxr-xr-xandroid/installApk.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/installApk.sh b/android/installApk.sh
index e38189430e..7b5666df34 100755
--- a/android/installApk.sh
+++ b/android/installApk.sh
@@ -1,5 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2ADB="$ANDROID_SDK_PATH/tools/adb" 2ADB="$ANDROID_SDK_PATH/tools/adb"
3 3
4if [ "$1" == "-r" ]; then
5 echo 'pm uninstall org.rockbox; exit' | $ADB shell
6fi
4$ADB install rockbox.apk 7$ADB install rockbox.apk
5echo 'am start -W -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell 8echo 'am start -W -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell