Install batches of apps through adb
I made a small script just to test the syntax highlighting plug-in I installed for WordPress. So here it goes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash # Scipt that installs a batch of apk files on an Android device, # through the adb tool from Android SDK. adbPath="/home/tomasz/android/android-sdk/tools/adb" if [ $# -ne 1 ]; then echo "usage: `basename $0` foldername" exit 1 fi for f in $( ls "$1" ); do $adbPath install "$f" done |
The script is very simple and installs apk files in a folder through adb (Android Debug Bridge). This of course requires the Android SDK and a some kind of a Linux distribution.