I'd like to display the favicon of the website I am accessing via the android.webkit.WebView. I've tried two ways to get it:
1) WebViewClient.onPageStarted()
method has a favicon parameter that is always null.
2) WebChromeClient.onReceivedIcon()
method is never called.
3) Called WebView.getFavicon()
in onPageStarted()
and onPageFinished()
but it always returns null.
I haven't been able to find an example online that shows how to access the favicon. Any hints would be greatly appreciated.