'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
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.
Dim open_button As Button
Dim save_button As Button
Dim map1 As Map
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
map1.Initialize()
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub save_button_Click
map1.Put("Save","Kruger Rules")
Msgbox("Data is Saved!","Info")
End Sub
Sub open_button_Click
Msgbox(map1.Get("Save"),"Info")
End Sub