Thanks a lot for this Guide image but I have some confusions.
This Guide is working for all Android versions ?
If I want to make non private external storage for ex.(storage/emulated/0/Myfolder) you write that it must be approved by Google what does it mean?
What does this directory called ?(Android/media/com.whatsapp) And can we make this type of directory also like whatsapp make (if yes than which permission we need)
Want more information about Non private external storage. @bodymindpower I want your help
@bodymindpower
I am using a image picker in my app that takes image from gallery and copy to ASD.
I am aware about SAF and its extension
Problem which i am facing is that i need to give separate tree access if i want to use image from DCIM and if i need from whatsApp folder.
As such in the extension i cannot give access to full storage in one access.
I have asked the question with extension developer, he told that i need to go ahead with multiple access
Is there any other way out for my problem?
the question remains, how Whatsapp is able to read and write in directory /Android/media as far as I know without requiring additional permission from the user (at least I do not remember to have given additional permission to Whatsapp)…
It is no problem to read from this path (folder) on any Android version.
But with targetSdkVersion = 30 it is no longer possible to write / save / copy to this folder on devices with Android > 10.
I have never used or installed WhatsApp and it will stay that way. So I can’t say anything about whether it will still save files to this folder on Android 11.
But MANAGE_EXTERNAL_STORAGE is not declared in the WhatsApp Manifest.