My application installs other applications, and it needs to keep track of what applications it has installed. Of course, this could be achieved by simply keeping a list of i
Android P+ requires this permission in AndroidManifest.xml
Then:
Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.example.mypackage")); startActivity(intent);
to uninstall. Seems easier...