summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-05 16:17:25 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-05 16:17:25 +0000
commit34fb311638426f850e8d620cadbaba3857ae9aef (patch)
tree9b02c1dd9954c074f1df617ee99ac732a7192ed4 /android
parent58f3549fb5c0ea6f4be8145f9d30ba6374682eb1 (diff)
downloadrockbox-34fb311638426f850e8d620cadbaba3857ae9aef.tar.gz
rockbox-34fb311638426f850e8d620cadbaba3857ae9aef.tar.bz2
rockbox-34fb311638426f850e8d620cadbaba3857ae9aef.zip
Android port: add a CLI APK install+launch script, useful for quick installation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28491 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rwxr-xr-xandroid/installApk.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/installApk.sh b/android/installApk.sh
new file mode 100755
index 0000000000..e38189430e
--- /dev/null
+++ b/android/installApk.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+ADB="$ANDROID_SDK_PATH/tools/adb"
+
+$ADB install rockbox.apk
+echo 'am start -W -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell