diff --git a/android/android.make b/android/android.make index 7b7f222b7f..3f425cab2d 100644 --- a/android/android.make +++ b/android/android.make @@ -129,5 +129,7 @@ dirs: $(DIRS) 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 5fd6afa810..0000000000 --- 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