Just wanted to know how to close my application, as in when a user presses the "back" button whilst the app is running, the application exits - so if you were to click on the application again, it would start again completely
However when you press the home button, whilst the app is running, and then were to click on the app icon, you enter teh app where you left off.
I want to "destroy" the app instance when a user clicks home or back. How could I achieve this?
Thanks for your thoughts