'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 WV As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("browser")
End Sub
Sub Activity_Resume
wv.Initialize("WV")
wv.Top = 0
wv.Invalidate
WV.LoadUrl(main.URLs.Get(0))
End Sub
Sub Activity_Pause (UserClosed As Boolean)
main.URLS.Set(0,wv.Url)
End Sub
Sub WV_PageFinished (Url As String)
main.URLS.Set(0,URL)
End Sub