开发者

webView with https loadUrl shows blank page

开发者 https://www.devze.com 2023-01-16 09:07 出处:网络
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

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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号