Sub Process_Globals
Dim lstText As List
End Sub
Sub Globals
Dim edtText As EditText
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime = True Then
If File.Exist(File.DirInternal, "Text.txt") = True Then
lstText = File.ReadList(File.DirInternal, "Text.txt")
Else
lstText.Initialize
End If
End If
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
File.WriteList(File.DirInternal, "Text.txt", lstText)
End Sub
Sub btnSubmit_Click
lstText.Add(edtText.Text)
End Sub