Code example for WebView

Methods: canGoBackgetTitle

0
	} 
 
	private final class HelpClient extends WebViewClient {
		@Override 
		public void onPageFinished(WebView view, String url) {
			setTitle(view.getTitle());
			backButton.setEnabled(view.canGoBack());
		} 
	} 
 
	public static String getBaseUrl() {
		return BASE_URL;
	} 
 
	@Override 
	public void onWindowFocusChanged(boolean hasFocus) {
		try { 
			super.onWindowFocusChanged(hasFocus);
		} catch (NullPointerException npe) {
			Log.e("HelpActivity", npe.toString());
		}