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
This commit is contained in:
parent
0b92c0fa26
commit
42f69c28c6
2 changed files with 3 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue