I have used web view to display html data. Now html data contains image , with src=\"Title : Android web view not displaying https:\ url . hview does not support for https url . If suppose i used with http then it works fine . IS there any solution ??
Thanks in advance
Click here to get the solution
Use the follwoing code. You can open https using the following code
WebView webview= (WebView) findViewById(R.id.my_webview);
webview.setWebViewClient(new WebViewClient() {
public void onReceivedSslError (WebView view, SslErrorHandler handler, SslError error) {
handler.proceed() ;
}
}
Donot forget to vote if my response is helpful for you.
Thanks Deepak
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With