Hi,
I am trying to write a single txt file with the values from 2 map views.
Here is the code I have used:
The above works when writing map1 but can't work out how to also save map2 into the same txt file.
Anyone know how to save map1 and then add map2 at the end of the txt file ?
I am trying to write a single txt file with the values from 2 map views.
Here is the code I have used:
B4X:
Dim map1 As Map
Dim map2 As Map
map1.Initialize
map2.Initialize
map1.Put("Key1","Value1")
map1.Put("Key2","Value2")
map1.Put("Key3","Value3")
map2.Put("K1","MyValue1")
map2.Put("K2","MyValue2")
map2.Put("K3","MyValue3")
File.WriteMap(File.DirRootExternal , "MyMap.txt", map1)
The above works when writing map1 but can't work out how to also save map2 into the same txt file.
Anyone know how to save map1 and then add map2 at the end of the txt file ?