Android: replace installApk.sh "launching Rockbox activity"-behaviour with
'make launch'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29565 a1c6a512-1295-4272-9138-f99709370657
diff --git a/android/android.make b/android/android.make
index 7b7f222..3f425ca 100644
--- a/android/android.make
+++ b/android/android.make
@@ -129,5 +129,7 @@
apk: $(APK)
install: apk
- $(ADB) install -r $(APK)
+ $(SILENT)$(ADB) install -r $(APK)
+launch:
+ $(SILENT)echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $(ADB) shell >/dev/null
diff --git a/android/installApk.sh b/android/installApk.sh
deleted file mode 100755
index 5fd6afa..0000000
--- a/android/installApk.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-ADB="$ANDROID_SDK_PATH/tools/adb"
-if [ ! -e $ADB ]
-then
- # Starting with the gingerbread sdk, the adb location changed
- ADB="$ANDROID_SDK_PATH/platform-tools/adb"
-fi
-
-$ADB install -r rockbox.apk
-echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell