I'm trying to find out if there's an intent for the app-specific storage screen as seen below in the picture.
I tried the following code but it only opened the App Info screen:
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Uri packageURI = Uri.parse("package:" + myPackage);
intent =.setData(packageURI);
startActivity(intent);
This is not possible.
You can not go further than the app settings, using the Intent you posted. What you could do is explain the user how to clear the data before firing the Intent though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With