summaryrefslogtreecommitdiff
path: root/android/installApk.sh
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2011-01-24 17:06:04 +0000
committerAntoine Cellerier <dionoea@videolan.org>2011-01-24 17:06:04 +0000
commita448d8bac7c97c008afcc0c435c7e9777c069b26 (patch)
tree2b39ae642c661af0cf7ce9a90e9179ee10d67346 /android/installApk.sh
parent9b02ce9e498e8c3580a25852c17345df710b4893 (diff)
downloadrockbox-a448d8bac7c97c008afcc0c435c7e9777c069b26.tar.gz
rockbox-a448d8bac7c97c008afcc0c435c7e9777c069b26.zip
Android build tweaks.
Add make install target for android builds. Remove standard install targets as they don't apply. Add java compilation dependancy on generated resource class(es?) to prevent weird runtime issues. Update installApk.sh script to use correct tool location in recent sdks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/installApk.sh')
-rwxr-xr-xandroid/installApk.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/installApk.sh b/android/installApk.sh
index 2c82b115c6..5fd6afa810 100755
--- a/android/installApk.sh
+++ b/android/installApk.sh
@@ -1,5 +1,10 @@
1#!/bin/sh 1#!/bin/sh
2ADB="$ANDROID_SDK_PATH/tools/adb" 2ADB="$ANDROID_SDK_PATH/tools/adb"
3if [ ! -e $ADB ]
4then
5 # Starting with the gingerbread sdk, the adb location changed
6 ADB="$ANDROID_SDK_PATH/platform-tools/adb"
7fi
3 8
4$ADB install -r rockbox.apk 9$ADB install -r rockbox.apk
5echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell 10echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell