title: How to dispatchKeyEvent to currentView in TabHost
body: <p>I need to change the KeyEvent dispatch in TabActivity. If the current tab content activity/view can handled the KeyEvent.KEYCODE_Back,  let it handled it. If not, show dialog to tip like this:"Would you want exit?". How can do this?</p>
  
  <p>I have tried by this code in my TabActivity:(can't implement my demand)</p>
  
  <pre><code>@Override
  public boolean dispatchKeyEvent(Event event){
      if(event.getKeyCode() == KeyEvent.KEYCODE_BACK){
          if(!mTabHost.getCurrentView.dispatchKeyEvent(event)){
              showDialog(0);
              return true;
          }
      }
      return super.dispatchKeyEvent(event);
  }
  </code></pre>