From Android 11 you can use storage to read write files.
https://developer.android.com/about/versions/11/privacy/storage
https://developer.android.com/about/versions/11/privacy/storage#app-specific-external
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I am trying to allow my app to read and write files to the public Documents folder. This works fine in the app if I create a file there I can read it.
However the issue is, I need my app to be able to read files there that are copied over from a PC. Users need to be able to copy files back and forth to their PC through File Explorer, but anything copied to the Documents folder on Android are not visible to the app. How can I allow this? Write External Storage permission is given but does not seem to help.
I used Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryDocuments)
It is deprecated so is that an issue? Is there a newer call that will give me the access I need?
From Android 11 you can use storage to read write files.
https://developer.android.com/about/versions/11/privacy/storage
https://developer.android.com/about/versions/11/privacy/storage#app-specific-external