Save the original timestamp when you started the timer in preferences.
When you come back get the current timestamp and subtract the two...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Apr 2, 2012 at 6:56 AM, jugni <[email protected]> wrote:

> hello all,
>
> I have activity in which timer and it is running perfectly.I am going from
> this activity to other class and i am doing some task in that and come back
> to timer activity.But the problem is that when i comeback from other
> activity to current then timer is start from 00:00.I want to it will show
> the time as continuesly running.can any body know how to dfo this?I have
> use the preference and store the last pause value and start with that value
> when it will comeback in current activity.But the time which was in other
> activity that time also want to add in this time.so how can i do this?
>
> --
> 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 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

Reply via email to