How can I view the items included in a listview inside a txt file?
I'll post a sample code where I have not yet entered the code of the listview.
help
I'll post a sample code where I have not yet entered the code of the listview.
B4X:
Sub btnSalva_Click
writer.Initialize(File.OpenOutput(File.DirRootExternal, "geripiz.rtf", True))
writer.Initialize(File.OpenOutput(File.DirRootExternal, "geripiz.txt", True))
writer.WriteLine("****************************************" & CRLF)
writer.WriteLine("DATA: " & DateTime.Date(now) & " ORE: " & DateTime.Time(now) & CRLF )
writer.WriteLine("OPERATORE: " & txtOperatore.Text & CRLF)
writer.WriteLine("ORDINE N�: " & txtOrdineN.Text & CRLF)
writer.WriteLine("OGGETTO�: " & txtoggetto.Text & CRLF)
writer.WriteLine("NOME�: " & txtPersone.Text & CRLF)
writer.WriterLine( listview ) ' what is the correct code to enter to view the items in the listview?
writer.WriteLine("****************************************" & CRLF)
writer.Close
Msgbox ("SALVATAGGIO ESEGUITO CORRETTAMENTE DENTRO LA MEMORIA DEL TELEFONO CON NOME: GERIPIZ.TXT ED UN'ALTRO APRIBILE DA PC CON WORDPAD, CON NOME: GERIPIZ.rtf","AVVISO")
End Sub