summaryrefslogtreecommitdiffstats
path: root/android/installApk.sh
blob: 7b5666df3448892b992d28bb591acc6572dd7439 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
ADB="$ANDROID_SDK_PATH/tools/adb"

if [ "$1" == "-r" ]; then
    echo 'pm uninstall org.rockbox; exit' | $ADB shell
fi
$ADB install rockbox.apk
echo 'am start -W -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell