Code example for WebView

Methods: canGoBackgoBack, getId, removeAllViews

0
	    Log.e("init", "starting the app2");
	     
	  } 
	  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
	  {  
		 if ((paramInt == 4) && (this.mWebView.canGoBack())) {
			  Log.e("lastpage","going to lastpage" + this.mWebView.getId());
			  this.mWebView.goBack();
		 } 
		else if (paramInt == KeyEvent.KEYCODE_BACK ) {
			 Log.e("termination","going to home" + this.mWebView.getId());
	            this.mWebView.removeAllViews();
	            return super.onKeyDown(paramInt, paramKeyEvent);
	      } 
	    for (boolean bool = true; ; bool = super.onKeyDown(paramInt, paramKeyEvent))
	      return bool;
	  } 
	   
	  public void notifyMe(View v) {
	    Notification note=new Notification(R.drawable.stat_notify_chat,"Fny Notification!",System.currentTimeMillis());
Connect your IDE to all the code out there  Get Codota for Java