带有 https loadUrl 的 webView 显示空白页面 [英] webView with https loadUrl shows blank page
本文介绍了带有 https loadUrl 的 webView 显示空白页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 webview 访问 https 链接.页面总是显示空白.我找到了使用它的方法
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();
}
}
没问题.
但我用的是Android 2.1 API,以上方法属于Android 2.2.谁能给我一些建议?
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:
问候,达米安
这篇关于带有 https loadUrl 的 webView 显示空白页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文