admin管理员组文章数量:1635963
今天实现webview加载微博网页的功能,开始就是采用了webview.loadurl()方法,直接出现空白页面。当时特别蒙,平时都是直接可以实现效果的,今天居然一直都是空白。后来,在网上查了很多资料。
Android WebView 加载弹出浏览器选择 和 空白页面解决
http://bbs.vpigirl/forum.php?mod=viewthread&tid=503&fromuid=2
(出处: 心惊变 回忆的路上,时间变得好慢!)
进行如下设置吧,大多数情况都能解决。
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
缓存不开启的时候,可能会有一些使用了这些存储的网页无法打开。
AppCache和DomStorage介绍见:
http://blog.csdn/a345017062/article/details/8703221
版权声明:本文标题:关于webview加载网页出现打不开网页或者空白页面情况的处理 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1729220943a1190883.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论