Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim CC As ContentChooser 'Phone Library
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.
Private ButtonGetImage As Button
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("Layout1")
CC.Initialize("CC")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub ButtonGetImage_Click
CC.Show("csv/*", "Choose csv")
End Sub
Sub CC_Result (Success As Boolean, Dir As String, FileName As String)
Dim su As StringUtils
Dim Table As List
If Success = True Then
Table = su.LoadCSV(Dir, FileName, ",")
Else
ToastMessageShow("No Success :(",True)
End If
Log(Table.Get(0))
End Sub