B4X:
WebView1.LoadUrl("http://192.168.1.1")
Any idea?thanks
WebView1.LoadUrl("http://192.168.1.1")
says Protected Object ,not show msgbox with username and password.B4X:WebView1.LoadUrl("http://192.168.1.1")
Any idea?thanks
Sub Process_Globals
Dim Socket1 As ServerSocket
End Sub
Sub Globals
Dim extras As WebViewExtras
Dim WebView1 As WebView
Dim p As Phone
Dim sb As StringBuilder
End Sub
Sub Activity_Create(FirstTime As Boolean)
Socket1.Initialize(0,"Socket1")
WebView1.Initialize("WebView1")
WebView1.JavaScriptEnabled=True
Activity.LoadLayout("web")
Socket1.Listen
sb.Initialize
WebView1.LoadUrl("http://192.168.1.1")
Msgbox(Socket1.GetMyIP, "")
p.Shell("ping -c 1 192.168.1.1",Null,sb,Null)'router
Log(sb)
p.Shell("ping -c 1 192.168.1.34",Null,sb,Null) 'pc ip
Log(sb)
End Sub
dp.Shell("ping -c 1 192.168.1.1",Null,sb,Null)
Log(sb)'ok router
p.Shell("ping -c 1 192.168.1.34",Null,sb,Null)
Log(sb)'don´t runs to pc windows7
p.Shell("ping -c 1 192.168.1.33",Null,sb,Null)
Log(sb)'ok tablet with android