[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread Soonil Nagarkar
Giving this topic some life, is there any way to implement something similar to finishOnTaskBackground? It is possible to reenter a task that was previously in the background without going through the launcher, in which case the desired behavior of finishing a task with this flag does not happen.

[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread Soonil Nagarkar
Actually, I got the behavior I was looking for by launching the edit activity with the no history flag. It's not quite as flexible as I'd like but everything works as expected. On Dec 18, 11:25 am, Soonil Nagarkar soon...@gmail.com wrote: Giving this topic some life, is there any way to

[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread Dianne Hackborn
It sounds like you would be better off looking at the desired behavior of your notification activity rather than your app. In particular, you can set it up to launch separately from the app, so pressing back will always return to what the user was previously doing. The app model doc should

[android-developers] Re: Activity finishOnBackground attribute

2008-12-18 Thread for android
Probable on the restart of the activity u need to update the list. On Thu, Dec 18, 2008 at 9:55 PM, Soonil Nagarkar soon...@gmail.com wrote: Giving this topic some life, is there any way to implement something similar to finishOnTaskBackground? It is possible to reenter a task that was

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Adam K
ping! is the documentation out of date? or am i not understanding how to use finishOnBackground? On Mon, Dec 8, 2008 at 2:48 PM, Adam K [EMAIL PROTECTED] wrote: Hi all, I want to do the following for a notification type activity that should be removed/closed from the system either via a

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Dianne Hackborn
Yes the documentation is out of date, it got renamed to finishOnTaskLaunch. On Thu, Dec 11, 2008 at 7:57 AM, Adam K a...@everythingandroid.net wrote: ping! is the documentation out of date? or am i not understanding how to use finishOnBackground? On Mon, Dec 8, 2008 at 2:48 PM, Adam K

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Adam K
Does it do exactly the same thing? It sounds to me like finishOnTaskLaunch finishes an activity when it is relaunched from the homescreen - what I wanted to do is have an activity finish when it goes to the background. Or would this be identical as calling finish() in the onPause() method? On

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Dianne Hackborn
It was renamed to match the actual behavior. On Thu, Dec 11, 2008 at 3:04 PM, Adam K a...@everythingandroid.net wrote: Does it do exactly the same thing? It sounds to me like finishOnTaskLaunch finishes an activity when it is relaunched from the homescreen - what I wanted to do is have an