When developing on Android, how to access the file system, such as /storage/emulated/0/aaa.txt.
I found that SpecialFolder.ExternalStorage.Child(“aaa.txt”) can read and write correctly, but SpecialFolder.ExternalStorage.Parent.Parent.Parent.Child(“aaa.txt”) will prompt that FolderItem is Nil.
dim x as new FolderItem(SpecialFolder.ExternalStorage.Parent.Parent.Parent.Child("aaa.txt"))
MessageBox(x.NativePath)
dim y as TextOutputStream=TextOutputStream.Create(x)
y.WriteLine("Hello world!")
y.Flush
y.Close