clear values on exit in android
<p>i have some static integer variables in my android application.I am testing the application in emulator.When i click back and return to homescreen and launch the application again, the previous values still persist and new values are added to it instead of overriding.So what is the procedure to clear these values when i close the application. I have tried with <code>onRestart()</code> and <code>onStop()</code> methods and reset the counter but it dint work.</p>

<p>How do i overcome this issue</p>
