Have a look to How to request and grant MANAGE_EXTERNAL_STORAGE permission
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 .
1 Like