blob: 5fd6afa810058de24c4684a21b92421d52147051 [file] [log] [blame]
Maurus Cuelenaere34fb3112010-11-05 16:17:25 +00001#!/bin/sh
2ADB="$ANDROID_SDK_PATH/tools/adb"
Antoine Celleriera448d8b2011-01-24 17:06:04 +00003if [ ! -e $ADB ]
4then
5 # Starting with the gingerbread sdk, the adb location changed
6 ADB="$ANDROID_SDK_PATH/platform-tools/adb"
7fi
Maurus Cuelenaere34fb3112010-11-05 16:17:25 +00008
Thomas Martitzf7c83ff2010-11-12 22:00:36 +00009$ADB install -r rockbox.apk
Thomas Martitzf5a461d2010-12-10 18:41:09 +000010echo 'am start -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell