'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 variabes will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim Button1 As Button
Dim WebView1 As WebView
Dim ImageView1 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("mikestest") 'Load the layout file.
Button1.Text = "Connect to Lakota Speakster - v.FREE"
WebView1.Top = 0
WebView1.Left= 0
WebView1.Width=100%x
WebView1.Height=100%y
WebView1.Visible = False
End Sub
Sub Button1_Down
ProgressDialogShow("Connecting to the mobi site...")
WebView1.LoadUrl ("http://www.lakotaspeakster.com")
WebView1.Visible = True
ImageView1.Visible = False
Button1.visible = False
End Sub
Sub WebView1_PageFinished (Url As String)
ProgressDialogHide
End Sub