How to request and grant MANAGE_EXTERNAL_STORAGE permission

In this guide I show you, how to request and grant → MANAGE_EXTERNAL_STORAGE on devices with Android 11+. Be aware that this permission is usually not granted by Google. However, let’s assume the app is only intended for private use or for special users or for other app stores .

This permission must be declared in the Manifest ( since it is not declared the Companion app you can’t test this with Companion):

<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>

Here is a small extension that declares this permission automatically in the Manifest (and let you check the API level of the device):
AllFilesPermission.aix (4.3 KB)

Check this on your Android 11+ devices: manageExtStorageK.apk (5.2 MB)

8 Likes

Tried but it doesn’t work, it doesn’t give permissions to read mp3 files

did the example project work for you?
do you plan to publish your app on Google Play?
Taifun

Yes, it works perfectly on android version 9, and I plan to publish it on Google Play. But as I couldn’t make it work in version 11, the publication is not viable.

then the MANAGE_EXTERNAL_STORAGE solution will not work for you

Taifun

How can i get permission to
Android/obb

With this permission also i cant access
Android/obb/
Android/data/
Files
Is there any solution

wow, so greate

Is there any way
I want to prepare particular app for me only not globally or not to publish any where please help me, thanks in advance

Thank you!

2 posts were merged into an existing topic: Specific folder permission Android 11