Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim methodname As String = "test"
End Sub
Sub test()
Log("test called")
End Sub
Sub Activity_Resume
CallSub(Me,methodname)
End Sub
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
test called
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
test called