Android permissions changed again with 10.
Now think in terms of App permissions and Manifest permissions.
The folders storage permissions apply to also changed
For basic functionality see the example which I think I shared with you before (I think the functionally implemented works on at least all recent versions - but no warranty), I also re-posted yesterday:
For details of how Android behaves on a given version (you won't like this) see its docs.
If you interested in changing the Manifest contents see another discussion from yesterday:
There may (or may not) be another issue:
If you want to access Media (video, pictures) on Android 10 I don't think you can do it via a file based mechanism (this is my understanding, it may be incomplete). I think you have the go via the MediaStore or perhaps ContentResolver (?I don't know) and get a content url. A few weeks ago we discussed Android Share and receiving a content url; getting a content url is the other side of the same process. Please don't complain to me about this, I'm only the messenger. Android is what it is get used to the idea.
I have not tried to do this last part so I do not have an example for you. Everything I know is in the Manifest link above, in that thread Hendrick is facing a similar issue.