title: Android:How to disable back press of handset?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4779954/disable-back-button-in-android">Disable back button in android</a>  </p>
  </blockquote>
  
  
  
  <p>i don't want to dismiss my dialog through back button, is there any way to disable back press of handset? when i press back button my dialog got cancelled , but after that cancellation i need to pass one message but how i know where flow of activity goes after cancellation of dialog?</p>