The code below works on my tablet. but on my phone I get
java.io.FileNotFoundException: /storage/emulated/0/opts.txt (Permission denied)
Anyone help please ? - TIA
B4X:
If File.Exists(File.DirRootExternal, "opts.txt") = False Then
File.Copy(File.DirAssets, "opts.txt", File.DirRootExternal, "opts.txt")
End If