Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webView with https loadUrl shows blank page

I used webview to visit https link. the page always show blank. i found the way to dill with it

public class WebViewClient extends Object
{
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) 
{
     handler.proceed();
}
}

That's work fine.

But i used API Android 2.1, the above method is belongs to Android 2.2. Can anyone give me some suggestion?

like image 699
Scofield Avatar asked Sep 13 '10 05:09

Scofield


1 Answers

Hi I solved and blogged about this issue here:

http://damianflannery.wordpress.com/2010/09/28/android-webview-with-https-loadurl-shows-blankempty-page/

Regards, Damian

like image 116
Damian Avatar answered Oct 05 '22 23:10

Damian