[android-developers] Re: How can I associate a file with a task?

2010-05-18 Thread ko5tik
On 18 Mai, 17:57, Bob Lee wrote: > On Mon, May 17, 2010 at 11:32 PM, ko5tik 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 brou

Re: [android-developers] Re: How can I associate a file with a task?

2010-05-18 Thread Bob Lee
On Mon, May 17, 2010 at 11:32 PM, ko5tik 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 ) > >

[android-developers] Re: How can I associate a file with a task?

2010-05-17 Thread ko5tik
On 18 Mai, 01:22, Bob Lee wrote: > My activity can be reused in multiple tasks concurrently. It stores a photo > associated with the task in a file. If the task is abandoned, how can I know > to delete the photo? > > Currently, I'm planning on keeping a fixed size queue of photos and deleting >