Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
timer1.Initialize("Timer",1000)
End Sub
Sub Activity_Pause (UserClosed As Boolean)
timer1.Enabled = False
End Sub
Sub Activity_Resume
timer1.Enabled = True
End Sub
Sub Timer_Tick
Log($"Timer-Tick"$)
End Sub