Install an APK via intent

3 votes · 1 comment

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

1 Comment

cool thanks for sharing

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