Friday, February 10, 2012

How to uninstall an APK via Intents?

Install an APK 
Uri installUri = Uri.fromParts("package", "xxx", null); 
Intent intent = new Intent(Intent.ACTION_PACKAGE_ADDED, installUri);
startActivity(intent);

No comments:

Post a Comment