On Wed, Oct 9, 2013 at 10:26 PM, Abhilash baddam < [email protected]> wrote:
> If I use onrestoreinstance state then if I started timer say at 00:00:00 > it started n its running, and presses on home then I will store the timer > value. Don't store timer value - store the start time. Then figure out the current value from that. > after some time, for ex I go back to app at 00:56:45 sec if the timer > gets killed then I don't get the latest or upated value from restore > instance state,if I am not wrong..? Yes, you should get the value back that you saved, and from that you can figure out what the elapsed time is. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

