Uninstall Apps from device using Uri and Intent.

2 votes · 0 comments

This piece of code could uninstall apps from android device.

raw ·
copy
· download
Uri packageURI = Uri.parse("package:com.any.app"); Intent intent = new Intent(Intent.ACTION_DELETE, packageURI); startActivity(intent);

Be the first to comment

Sign in with OpenID