title: restart my app activity on home button pressed
body: <p>I want to disable all 3 button back button task and home button <strong>only for 1 activity</strong> , i found a way for back and task button its working. </p>
  
  <p>But I am facing problem for home button disable .. if disabling is little complicated , just restart my app activity when user pressed home button , will also worked for me ! </p>
  
  <p>Any suggestion or help how can i do it ?</p>
  
  <p>following is my code </p>
  
  <pre><code>@Override
      public boolean onKeyUp(int keyCode, KeyEvent event) {
          if (keyCode==KeyEvent.KEYCODE_HOME)
          {
  
              return false;
          }
          else if (keyCode==KeyEvent.KEYCODE_BACK)
          {
  
          }
          if (keyCode==KeyEvent.KEYCODE_TAB)
          {
  
          }
  
          else {
              return super.onKeyUp(keyCode, event);
          }
          return  false;
      }
  </code></pre>