Ouch, I realized Serialization wouldn't do the trick, and recreating
timers wouldn't either.
I need to reference the exact timer I created in a previous execution
of the application, in order to be able to cancel it, for example.
How can I do that?
Thanks
Simone

On 31 Mar, 21:18, A1programmer <derrick.simp...@gmail.com> wrote:
> Why don't you just recreate the timers with the same values you used
> to create them with ?  It's much easier to persist strings, such as
> the "name", etc.
>
> On Mar 31, 12:02 pm, Simone <simone.russ...@gmail.com> wrote:
>
> > Hi, I have an array of 5 Timer objects in my app, some of wich have
> > been scheduled with a TimerTask.
> > I need to be able to store and load these 5 Timers; is there a way to
> > save Objects? Maybe storing the address of the array would be enough?
> > How could I do that?
> > Thanks
> > Simone

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to