Read that Android 11 has scoped storage, but I can't find any information, how can I create and use folder in /storage/emulated/0/
? Old methods works only on api 29 and below :(
On Android 11 the restrictions in Android 10 concerning access to external storage are much less.
Environment.getExternalStorageDirectory()
is readable again and
Environment.getExternalStoragePublicDirectory(...)
is writable for folders like Environment.DIRECTORY_DOCUMENTS
and so on.
The Android OS is very picky using the right extensions for your files in most of those directories.