+
+ // Update the URL in urlTextBox. It is necessary to do this after the page finishes loading to get the final URL, which can change during load.
+ formattedUrlString = mainWebView.getUrl();
+ urlTextBox.setText(formattedUrlString);
+
+ // Set the favorite icon
+ Bitmap favoriteIconBitmap = mainWebView.getFavicon();
+ Drawable favoriteIconDrawable = new BitmapDrawable(getResources(), favoriteIconBitmap);
+ // TODO Display the favorite icon.