Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim btnEnter As Button
Dim pannel As Panel
Dim txtinputbox As EditText
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("mypannel")
pannel.Initialize("") ' Initializes pnlPage1
pannel.LoadLayout("mypannel ") ' Loads "Page1" layout file
Activity.AddView(pannel,0,0,100%x,100%y) ' Adds pnlPage1 to Activity
pannel.Visible=true
End Sub
Sub btnEnter_Click
Msgbox(txtinputbox.text,”test printing”)
End Sub
I have create another applycations much more complicated but in this simple test case senario......