Am I doing something wrong or is this a bug? I know I shouldn't be using ReadObject if I know the file wasn't written with WriteObject, but I want to let the user select any file they choose and then read the Map that was written to it - if there is one:
B4X:
File.WriteString(File.DirApp, "test.txt", "Just a text file")
Dim r As RandomAccessFile
r.Initialize(File.DirApp, "test.txt", True)
Dim o As Object = r.ReadObject(r.CurrentPosition)
r.Close