Install an APK via intent

4 votes · 2 comments

Install an APK

raw ·
copy
· download
Uri installUri = Uri.fromParts("package", "xxx", null); Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, installUri); startActivity(intent);
Add a comment

2 Comments

cool thanks for sharing

Reply · Nov. 2, 2011, 8:33 a.m.

this not silent right? do you know how to silently install or uninstall apps?

Reply · April 30, 2012, 11:15 a.m.