Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private lb As Label
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")
lb.Initialize("lb")
Activity.AddView(lb, 10dip,10dip, 100dip,20dip)
lb.Text="Click me!"
lb.TextColor = Colors.red
End Sub
Sub lb_click
Log("lb Click")
End Sub
Sub lb_longclick
Log("lb long Click")
End Sub