Pick File Directory Android 11

Hello, I am trying to get data from a .csv file that is on my phone.
However, I can’t get the directory of the file using activity starter.

Where can I be going wrong?

I am able to get the .jpg file directory without any problems. But .txt or .csv just error.


image
image

read this Some basics on Android storage system to find out, why it works for jpg butr not for txt or csv
protip: use the SAF extension for these file extensions

Taifun

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.