Android onBackPressed/onUserLeaveHint
<p>Just a bit of advice needed really. I have an Activity running with my game in it and when the user presses the Back button it will exit back to the Main Menu using the onBackPressed() method, but I am also overriding the onUserLeaveHint() to do the same action if the Home Button is pressed or a phone call is received. However this method is also called when the Back button is pressed, meaning that the Main Menu Intent is called twice with one on top of the other.</p>

<p>If anyone has an idea about how to get around this issue or a better way of handling the two events it would be much appreciated.</p>

<p>Thanks.</p>
