Android saving current activity
<p>I am developing the Application for cricket. I get problem when I am using back button. My aim is to save the data when user click back button. when user click <code>back button</code> or going to another activity the current activity data is not displaying. I used Shared preference to save data. But still I am facing the problem.. can anybody gve some idea. So that i will implement in my application.</p>

<p>I am using <code>OnResume()</code> to retrieve the saved data when user press back button.</p>
