Wednesday, June 29, 2011

[android-developers] install package programingly without any system prompt


I'm trying to install apks by program (permision has been set), code
as following show:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file), "application/");
it could work, but, there always the prompt from system such like "are
you sure you want to install this application", then an operation must
set to continue the install process.

I need to install the apks only by one choice at the very begining,
then it will install all of them automatically without any prompt
during the process. What should I do?

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment