Android Question Website out of LAN will not load

cixz

Member
Hi there,

i have active local WLAN and try to open by webview a local (LAN) website like: http://192.168.20.226/test/page

in chrome browser it works, but inB4x App via webview it will not load.
any idea?


B4X: Copy
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("Layout")  
    webview1.Initialize("webview1")
    Activity.AddView(webview1, 0dip, 100dip, 100%x, 100%y)
    webview1.LoadUrl("http://192.168.20.226/test/page")
End Sub
 
What does it mean? What do you see?

attached a screenshot.
Sorry its german but i think you can see what i mean...

Same URL load well in chrome browser....
 

Attachments

  • Screenshot_20200816-143052.jpg
    Screenshot_20200816-143052.jpg
    140.4 KB · Views: 618
Upvote 0
Use the search engine. It works very good: https://www.b4x.com/android/forum/pages/results/?query=cleartext
The solution is in the second post.
 
Upvote 0
Back
Top