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:
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
 

cixz

Member
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: 211
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
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

cixz

Member
Wow...
this works well...
of corse, i used die search function, but maybe not the right search string....

Thanks Erel.
 
Upvote 0
Top