To anyone with an explanation:
I clicked on Help/Online Help, selected File/WriteString and copied the example:
File.WriteString(File.DirRootExternal, "1.txt", "Some text")
into a program as the first statement after the LoadLayout line.
I then set a breakpoint on the line after that. After I clicked on Project/Compile & Run,
the program stopped at the breakpoint and the following run time error message appeared:
java.io.FileNotFoundException: /mnt/sdcard/1.txt (Permission denied)
Why doesn't WriteString work here?
I clicked on Help/Online Help, selected File/WriteString and copied the example:
File.WriteString(File.DirRootExternal, "1.txt", "Some text")
into a program as the first statement after the LoadLayout line.
I then set a breakpoint on the line after that. After I clicked on Project/Compile & Run,
the program stopped at the breakpoint and the following run time error message appeared:
java.io.FileNotFoundException: /mnt/sdcard/1.txt (Permission denied)
Why doesn't WriteString work here?