3

In webViewClient I use shouldOverrideUrlLoading to check a link/url and load another activity but how can I do the same trick in webChromeClient?

Harry
  • 786
  • 1
  • 8
  • 27

1 Answers1

3

You can't do that in a webChromeClient. You have to set both, webViewClient and webChromeClient.

Ahmad
  • 69,608
  • 17
  • 111
  • 137
  • Aha, so use webViewClient with Override will only intercept the call... Thanks. Would you be so kind to read my other question too: http://stackoverflow.com/questions/14664363/webchromeclient-opens-link-in-browser/14666722 – Harry Feb 04 '13 at 09:08