why onBackPressed() always go back previous activity when i press physical back button?
<p>After processed some activity, i want to exit the application.I implemented</p>

<pre><code> public void onBackPressed() {
       System.exit (0);
}
</code></pre>

<p>But my application is back to previous activity..I need exit my application completely.How to do that? 
I had searching a lot of article but it not working on that. 
My android is 2.3</p>
