Ok so I have a test.txt file.
I don’t know what the directory its in is called, but it looks like this:
I tried this:
But it says file not found.
How do I get to this location?
This is the root directory of the internal (emulated) sdcard
You do not have access to that directory to read a text file from there, see also the overview
Store that file in /Download and use the SAF extension to read text files, which have not been created by your own app
Then how does app Stardew Valley put content there? The save for Stardew Valley is there.
After more research, I see that you can make the app be like Choose This Folder. Can I do that to a folder in
you can have it easy and store files in shared storage or ASD without having to ask the user
for everything else you can experiment with the SAF extension
btw. you forgot to mention where your file is coming from… did your app create it? did you copy it to the root directory using a file manager? see again the overview from my first answer…
File is coming from another app.
in this case you need SAF to read it