On 18 Mai, 17:57, Bob Lee <[email protected]> wrote: > On Mon, May 17, 2010 at 11:32 PM, ko5tik <[email protected]> wrote: > > Wha do you mean bay "abanddoned" - the only callback for activity > > you can rely > > on is onPause() , which will be called when it leaves user focus. > > After > > this it may be killed sometime, or brought to front( onResume() will > > be called ) > > > I would delete old photos when new one is arrived. > > This isn't a good option. Multiple tasks can run concurrently. Is there a > way to get the task name perhaps (as opposed to its int ID)?
There is also singleton - while not a good pattern it's usable on android. As all your activities run in the same VM it's a choice( I use it for highscore keeping, with 2 activities and alarm service) regards, -- 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

