After getting the URI, I've translated/transformed it to a file path.
I've tried copying this selected file to the ASD using:
AI file component.
Taifun file ext.
Sunny Gupta ext.
I've tried everything I can, using Scope, checking existence first, relative and full path, with single/double/triple "/".
My mobile has Android 11 installed
I know there are many posts and discussions regarding storage and permission etc, please don't point me to these, as I've already tried my best to find an answer. (Note, I'm checking my solution with apk installation only, no need for companion solution)
Can someone please provide with the required blocks/logic?
Again, I'm just trying to do what the ImagePicker does.
The ImagePicker does this without asking for any permission, but I've tried asking for permissions as well.
I read that for Android >= 10, an app can't access the shared scope, only ASD.
So how do commercial apps (e.g. Telgram) creates and uses a dedicated directory under /storage/emulated/0 ? (i.e. not in ASD)