How to disable back button In camera in Android
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/13191946/disable-back-button-in-androidnot-working">Disable back button in Android(Not working)</a>  </p>
</blockquote>



<p>I am using the default camera in my app(The inbuilt-camera feature of Android). I have tried using</p>

<pre><code> public void onBackPressed() {

    }
</code></pre>

<p>but instead of blocking the back button, the app hangs forcing the user to terminate the app/restart it.</p>
