In order for WebView methods and listeners to be displayed, you must first open WebIconDatabase manually. Usually you do this in the onCreate() method of your activity.
Try adding the following line to onCreate() :
WebIconDatabase.getInstance().open(getDir("icons", MODE_PRIVATE).getPath());
Once you do this, you should start receiving onReceivedIcon() callbacks for any WebView in this Activity, and the getFavicon() method should also start returning a valid object, not null, when icons are available.
Mark slee
source share