summaryrefslogtreecommitdiffstats
path: root/android/installApk.sh
blob: 5f3b0224d86ff096d3963311b3d6a703d2ee68d1 (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