I am writing an app for listing applications installed on the system. I am using PackageManager and queryIntentActivities() to get list of applications.
I am able to start it, uninstall it (using ACTION_DELETE), but I have no idea how to show details (where user can force stop, move to/from SD card, see disk space usage etc)?
I tried ACTION_VIEW, but it also shows uninstall dialog on 2.1 (did not check other versions yet). I also didn’t find anything except for an unanswered question on android-dev mailing list.
Starting with API Level 9 (a.k.a., Android 2.3), you should be able to use
ACTION_APPLICATION_DETAILS_SETTINGSfor this. There is no way to get to this screen in previous versions of Android.