B4J Question Map file readaing with V.Basic(VSStudio)

Tayfur

Well-Known Member
Licensed User
Longtime User
Hello;

I created settings with map type. and its recorded txt file.
But i need to use same file with VBasic. How con i read this file in VBasic. (without convert/use on B4J)
Beacuse, file is not readable.
 

Attachments

  • PERSONEL - Kopya.txt
    895 bytes · Views: 197

MarkusR

Well-Known Member
Licensed User
Longtime User
looks binary. map type?
this create text, at least in this simple example.
B4X:
Dim m As Map
    m.Initialize
    m.Put("Hello",123)
    File.WriteMap(File.DirApp,"Data.map", m)

    Dim g As JSONGenerator
    g.Initialize(m)
    File.WriteString(File.DirApp,"data.txt",g.ToPrettyString(1))
 
Upvote 0

Tayfur

Well-Known Member
Licensed User
Longtime User
looks binary. map type?
this create text, at least in this simple example.
B4X:
Dim m As Map
    m.Initialize
    m.Put("Hello",123)
    File.WriteMap(File.DirApp,"Data.map", m)

    Dim g As JSONGenerator
    g.Initialize(m)
    File.WriteString(File.DirApp,"data.txt",g.ToPrettyString(1))

thank you for musch for reply;
But; I dont change B4J code. I can solve with B4J.
So, I want read (recoerded map file on B4J) with .Net (I dont know record format B4J)
 
Upvote 0
Top