Sub Globals
Dim Button1 As Button
Dim WebView1 As WebView
Dim Label1 As Label
Dim Timer1 As Timer
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("layout_main")
Timer1.Initialize("Timer1",2000)
End Sub
Sub Button1_Click
WebView1.LoadUrl("http://www.google.com")
Timer1.Enabled = True
End Sub
Sub Timer1_Tick
Label1.Text = "URL: " & WebView1.Url
Timer1.Enabled = False
End Sub