setwebviewclient setwebchromeclient 的区别

  自己在整一个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.

 

posted @ 2014-10-25 10:21  后知后觉!  阅读(1045)  评论(1编辑  收藏  举报