I'm creating an Android App with many Acitivities. I would like that the hardware Back Button is used to exit an App and not to go back on the previous activity. How can I achieve that ? Thanks ;)
Add android:noHistory="true"
to each one of your <activity>
elements. The activity will automatically be destroyed when the user navigates away from it by any means.
Note that this behavior may make you unpopular with users.