WebView Prblem

codeit707

Member
eGreetings,
Using the "Emulator" for testing - I can not get WebView control to load a page - it returns a "Page Not Found" page. Acts like is not hooked up to the iNet - system is hooked up using DSL.

Here is the code - what in the world is wrong?
********************************************************
'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 variabes will be redeclared each time the activity is created.
'These variables can only be accessed from this module.


Dim Button1 As Button
Dim WebView1 As WebView


End Sub

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("mikestest") 'Load the layout file.
Button1.Text = "Contact to Lakota Speakster - FREE"

End Sub

Sub Button1_Down
Msgbox("Connecting to the mobi site...","Lakota Speakster")
WebView1.LoadUrl ("http://www.lakotaspeakster.com")
End Sub
********************************************************
 

codeit707

Member
Connection

Nope - the built in browser (of the Emulator) won't work either.
Returns nothing but a "Page not Found" error page - no matter what site you try to navigate to....

mikeB
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
The emulator often loses internet connectivity i have found.

Shutdown the emulator and start it again is my only fix.

Use the emulator's built in browser to check for internet connectivity if in doubt.

Martin.
 
Upvote 0

codeit707

Member
Have done this

Have done this MANY times over the period of several days.
Never works...
Guess I'll just do an uninstall of all the software and start over again to see if I can get it to work UNLESS - HOPEFULLY - someone has a solution;-)

mikeB
 
Upvote 0

codeit707

Member
Just FYI

eGreetings,
Just for anyone's info that might be following this thread...

I uninstalled - then downloaded and re-installed the Anroid SDK to see if that might solve this problem. I'm persuming that the Emulator is part of this SDK?

It did not! Still will not load a web page.

Any suggestions or other methods I might try?
I've been working now 4 days just to get a simple web page loaded;-(

Thanks in advance,
mB
 
Upvote 0

codeit707

Member
Ok - But...

Nice suggestion BUT it still will not load the page in the Emulator.
No page will load - like it isn;t connected to the inet;-(
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…