eGreetings,
Can anyone test this attached source code and tell me if it connects to the web site (using the Emulator)?
I have tried everything I can think of and can not get the Emulator to load a web page;-(
* am not running behind a proxy
* have uninstalled the re-install the Android SDK (thinking this might correct the problem)
Thanks in advance,
mikeB
the code*****************************************************
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
Dim ImageView1 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("mikestest") 'Load the layout file.
Button1.Text = "Connect to Lakota Speakster - v.FREE"
WebView1.Top = 0
WebView1.Left= 0
WebView1.Width=100%x
WebView1.Height=100%y
WebView1.Visible = False
End Sub
Sub Button1_Down
Msgbox("Connecting to the mobi site...","Lakota Speakster")
WebView1.LoadUrl ("http://www.lakotaspeakster.com")
WebView1.Visible = True
ImageView1.Visible = False
Button1.visible = False
End Sub
******************************************************