Siva Kumar
Siva Kumar

Reputation: 893

Loading a https page in webview displays a blank page

I need to display a secured website(https) in a webview. I have seen a few posts based on this problem and tried the solutions that were given. But nothing works for me..

It still displays white blank page.

Here is what i have done..

 webView.setWebViewClient(new WebViewClient() {
        @Override
        public void onReceivedSslError(WebView view,
                SslErrorHandler handler, SslError error) {
            // TODO Auto-generated method stub
            handler.proceed();
        }
    });
    webView.loadUrl(url);

can anyone help me what can I do to solve this ? do I need to add anything more ?

thanks,

Upvotes: 2

Views: 1806

Answers (1)

Sephy
Sephy

Reputation: 50392

This issue is related to the level of the Android API you are using if i'm not mistaken. Until Android Froyo, there was to way to handle this in the API.

This blog post should help you solving your issue.

Upvotes: 3

Related Questions