C cixz Member Aug 16, 2020 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2020 #2 cixz said: inB4x App via webview it will not load. Click to expand... What does it mean? What do you see? Upvote 0
cixz said: inB4x App via webview it will not load. Click to expand... What does it mean? What do you see?
C cixz Member Aug 16, 2020 #3 Erel said: What does it mean? What do you see? Click to expand... 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 140.4 KB · Views: 618 Upvote 0
Erel said: What does it mean? What do you see? Click to expand... attached a screenshot. Sorry its german but i think you can see what i mean... Same URL load well in chrome browser....
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2020 #4 Use the search engine. It works very good: https://www.b4x.com/android/forum/pages/results/?query=cleartext android:usesCleartextTraffic="true" need help! Hello, After updating my app to use sdk 28, android version 8 is getting an error while connecting to http:err_cleartext_not_permitted . Stackoverflow has this topic: https://stackoverflow.com/questions/52707918/webview-showing-err-cleartext-not-permitted-although-site-is-https what must I... www.b4x.com The solution is in the second post. Upvote 0
Use the search engine. It works very good: https://www.b4x.com/android/forum/pages/results/?query=cleartext android:usesCleartextTraffic="true" need help! Hello, After updating my app to use sdk 28, android version 8 is getting an error while connecting to http:err_cleartext_not_permitted . Stackoverflow has this topic: https://stackoverflow.com/questions/52707918/webview-showing-err-cleartext-not-permitted-although-site-is-https what must I... www.b4x.com The solution is in the second post.
C cixz Member Aug 16, 2020 #5 Wow... this works well... of corse, i used die search function, but maybe not the right search string.... Thanks Erel. Upvote 0
Wow... this works well... of corse, i used die search function, but maybe not the right search string.... Thanks Erel.