首页 > Web开发 > 详细

setwebviewclient setwebchromeclient 的区别

时间:2014-10-25 11:42:44      阅读:1129      评论:0      收藏:0      [点我收藏+]

  自己在整一个demo,发现用 setwebchromeclient   并不能在自己写的webview里面加载打开的网页

 

对比:

 

   setwebviewclient:    

    Sets the WebViewClient that will receive various notifications and

    * requests. This will replace the current handler.

   setwebchromeclient:

          

    Sets the chrome handler. This is an implementation of WebChromeClient for
     use in handling JavaScript dialogs, favicons, titles, and the progress.
     This will replace the current handler.

 

setwebviewclient setwebchromeclient 的区别

原文:http://www.cnblogs.com/Intention/p/4049782.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!