rockbox/android/installApk.sh
Antoine Cellerier a448d8bac7 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
2011-01-24 17:06:04 +00:00

10 lines
304 B
Bash
Executable file

#!/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