码迷,mamicode.com
首页 > Web开发 > 详细

setwebviewclient setwebchromeclient 的区别

时间:2014-10-25 11:45:52      阅读:241      评论:0      收藏:0      [点我收藏+]

标签:io   ar   java   for   sp   on   log   bs   javascript   

  自己在整一个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 的区别

标签:io   ar   java   for   sp   on   log   bs   javascript   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!