Android Question WebView.LoadHtml Network pictures cannot be displayed

yinjiantuan

Member
Licensed User
url="http://m.qpic.cn/psb?/V13NEgSZ28bKKl/114fG.ihrt41dH*s9qxWOJZxaOtWSgVj9NCyf9Fyl8Q!/b/dD4BAAAAAAAA&bo=eQF7AQAAAAARBzI!&rf=viewer_4"

htmltp="<br><img src="& url&" width=99% /><hr/>"

WebView.LoadHtml("<html><body>'"& htmltp&"' </body></html>" )



In 2020, the app can also display pictures normally. However, it will not be displayed normally after 2021. I need you to help me answer. thank you. A programming enthusiast from China
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Non SSL URLs are not allowed any longer.
Add this to you manifesteditor.
B4X:
CreateResourceFromFile(Macro, Core.NetworkClearText)
 
Upvote 2

yinjiantuan

Member
Licensed User
Non SSL URLs are not allowed any longer.
Add this to you manifesteditor.
B4X:
CreateResourceFromFile(Macro, Core.NetworkClearText)
Thinks !Now It's working normally.Where are you come from?
 
Upvote 0
Top