From 42f69c28c67a9feec5084138b76992af94477432 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 11 Mar 2011 15:45:55 +0000 Subject: 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 --- android/android.make | 4 +++- android/installApk.sh | 10 ---------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100755 android/installApk.sh (limited to 'android') 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 -- cgit v1.2.3