Code example for WebView

Methods: canGoBackcanGoForward, bringToFront

0
		_web.setWebViewClient(mClient);
		_web.loadUrl(_url);	
	} 
	 
	private void checkActionStatus(){ 
		_back.setEnabled(_web.canGoBack());
		_forward.setEnabled(_web.canGoForward());
	} 
	 
	/*********************************************************** 
	 * Inner Classes and Interfaces 
	 *  
	 */ 
	 
	/** 
	 * Simple WebViewClient that merely monitors page load start and ends 
	 */ 
	private WebViewClient mClient = new WebViewClient(){
		@Override 
		public void onPageFinished(WebView view, String url){ 
			super.onPageFinished(view, url); 
			 
			checkActionStatus(); 
			 
			_loading.setVisibility(View.INVISIBLE); 
			_web.bringToFront(); 
			 
		} 
		 
		@Override 
		public void onPageStarted(WebView view, String url, Bitmap favicon){