Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim Panel1 As Panel
Dim EditText1 As EditText
Dim Button1 As Button
Dim ListView1 As ListView
Dim tabla As List
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Main")
tabla.Initialize
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Button1_Click
tabla.Add(EditText1.Text)
ListView1.Clear
For i=0 To tabla.Size -1
ListView1.AddSingleLine(tabla.Get(i))
Next
End Sub
Sub Button1_LongClick
Dim sa As StringUtils
sa.SaveCSV(File.DirRootExternal,"1.csv",";",tabla)
End Sub