0

I would like to mass install few apps at one time from a single FTP server - from Android phone, without using adb command.

The phone will be rooted and will have and the option to install non-Market apps turned on.

I know it is possible to install many apps using single adb command (http://www.androidsim.net/2011/06/how-to-18-mass-installing-multiple.html) but I would like to do this using an Android app that would download all the apps and install them. I am looking for a ready-made solution (app/code snippet) or a clues for implementing FTP connection.

1

This is a way of programatically installing APKs

the code snippet you're looking for is:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/download/" + "app.apk")),"application/vnd.android.package-archive");
startActivity(intent);
  • Thanks, I've searched Android SE archives but didn't search SO archives. – syntagma Feb 27 '12 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.