I have tried Process Globals and preloading TPage and no luck. Can someone help me out and I will do look for a better tutorial.
browser:
#Region Project Attributes
#ApplicationLabel:Browser
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Private xui As XUI
'Dim TPage As EditText
'Dim TPage As String
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
Private Back As Button
Private Forward As Button
Private Go As Button
Private WebView1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("browser")
TPage = "\"
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Private Sub BGo_Click
WebView1.LoadUrl(TPage.text)
End Sub
Private Sub BForward_Click
WebView1.Forward
End Sub
Private Sub BBack_Click
WebView1.Back
End Sub