Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim WebView1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
WebView1.Initialize("WebView1_Click")
Activity.LoadLayout("WebView")
WebView1.LoadURL("https://www.orusjobs.com")
End Sub
Are you creating your layouts with the designer? if you are, you don't need to initialize the views, but if you are not, then you have to Initialize and add the view to the activity, I would recommend you read the Beginner's Guide for more details.
Links to the documentation can be found in my signature below.
Hi, thanks for your reply, I remove the WebView1.Initialize("WebView1_Click") but doesnt work I can load the www.orusjobs.com without problems but when I click login I get null.