Android Question Read File - Permission Denied

jcesar

Active Member
Licensed User
Longtime User
I'm trying read a text file from internal memory but i get the exception below:

java.io.FileNotFoundException: /storage/emulated/0/Download/myfile.txt (Permission denied)



B4X:
Dim text As String
    text = File.ReadString(File.DirRootExternal, "/Download/myfile.txt")
    edtTexto.Text = text
 
Top