summaryrefslogtreecommitdiffstats
path: root/android/installApk.sh
blob: 5fd6afa810058de24c4684a21b92421d52147051 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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