PDA

View Full Version : Script to install apps


jomtones
17th July 2009, 01:52 AM
So I have a folder full of apps (40 or so) that I backed up with 'appmanager' (.apk files) - is there any way I can write a script to install the lot for me instead of doing it manually one at a time?

Yeah I know there are better ways to back up but hey this is where I got to flashing back and forth between JACHero and Cyanogen's, trying to get partitions set up right!

Thanks

alritewhadeva
17th July 2009, 01:53 AM
Wrong section.

su
cd /sdcard/folderwithapps
busybox install *.apk /data/app

Mikey
17th July 2009, 02:02 AM
What is it with Development section everyone LOVES to create new question threads???

jomtones
17th July 2009, 02:05 AM
Wrong section.

su
cd /sdcard/folderwithapps
busybox install *.apk /data/app

sweet! will that happen without dialogs? Does it matter if its installing the apps to SD? (I'm running cyanogen's latest)

jomtones
17th July 2009, 02:13 AM
hmmm .. gave it a go - copies the apps to that folder (checked with LS) but they don't show up in the interface even after a reset... :confused:

Mikey
17th July 2009, 05:05 AM
Since you wont answer my question, the next time you post in the wrond forum, i will start ban(ning) people for 2-3 days.

thread will be deleted