Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim b 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")
b.Initialize("b")
Activity.AddView(b,100dip,100dip,100dip,100dip)
End Sub
Sub b_Click
Activity.Finish
End Sub