2

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

1
  • So when you use http it works fine though right? And what exactly happens. Does it simply show nothing (it's blank)? Commented May 25, 2011 at 11:47

1 Answer 1

12

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

Sign up to request clarification or add additional context in comments.

1 Comment

SslErrorHandler cannot be resolved to a type, SslErrorHandler cannot be resolved to a type

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.