Sub SaveStringExample
Try
File.WriteString("/storage/extSdCard/Android/data/uop.unicollect/files/unicollect/DBbak/", "String.txt", _
"This is some string" & CRLF & "and this is another one.")
Catch
Log(LastException.Message)
Msgbox(LastException.Message, "ERRor")
End Try
End Sub
And get this exception:
B4X:
libcore.io.ErrnoException: open failed: EACCES (Permission denied)