Sub Process_Globals
'I load the default page here
Dim URLstring As String = "Http://www.google.com"
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
MyWebView.LoadUrl(URLstring)
End Sub
'Grab the latest URL
Sub MyWebView_PageFinished (URL As String)
URLstring = URL
End Sub
'even though I use a layout, I reinitialize the webview
'Upon switching back and forth between 3g and wireless
'I refresh and it reconnects nicely
Sub RefreshButton_Click
MyWebView.Initialize("MyWebView")
MyWebView.LoadUrl(URLstring)
End Sub