hello, i have this problem when saved my document in txt:
this is code for saving document:
log("Saved document" & txttavoloarrivi.text & ".txt")
in log i see: Saved document 7
7 is the number casually saved, but not saved format .txt
i see in log the spaces, this example:
Saved document 7
V0
.txt
whi not saved withouth spaces, this V0 ? is unknow for me.
this is code for saving document:
B4X:
Dim creatavolo As TextWriter
Log("check sub conteggia if tavolo content the number: " & txttavoloarrivi.Text & " or is empty")
creatavolo.Initialize(File.OpenOutput(File.DirRootExternal, txttavoloarrivi.Text.trim &".txt",True))
creatavolo.WriteLine(txtintestazione.Text & CRLF)
creatavolo.WriteLine( txtLog.Text & CRLF)
creatavolo.Close
in log i see: Saved document 7
7 is the number casually saved, but not saved format .txt
i see in log the spaces, this example:
Saved document 7
V0
.txt
whi not saved withouth spaces, this V0 ? is unknow for me.