Well, they definitely do something that feels a lot like lingering, in that they go away when the user tells them to (in a manner which was effectively permanent in 1.1), and then they are later revived by the switcher.
It's a rather odd user experience. Here's an activity which the user can't launch directly, and which they have said they are finished with, so they will be confused to find a way back to it. Or, to put it another way, in 1.1 a call of finish() meant the activity was finished, and it went away forever. In 1.5 that is no longer true. It seems very strange to say that an activity has no way to really terminate itself, so I'm trying to understand the context which makes that sensible. Do you see what I mean ? Richard On May 8, 7:24 pm, Marco Nelissen <marc...@android.com> wrote: > They don't really 'linger' or 'survive'. What you called the 'task switcher' > dialog is actually the 'recent tasks' dialog. It's different from the > windows or mac task switcher that shows you currently running apps. > > On Fri, May 8, 2009 at 11:00 AM, jarkman <jark...@gmail.com> wrote: > > > OK, thanks. > > > Is it easy to explain why these activities linger on so ? After > > reading today's discussions of tasks and activities I have the vague > > idea that they survive because they are the last activity for a task, > > and the system hasn't decided to kill the task yet. > > > Richard > > > On May 8, 6:17 pm, Dianne Hackborn <hack...@android.com> wrote: > > > No, you can't do that, sorry. > > > > On Fri, May 8, 2009 at 10:11 AM, jarkman <jark...@gmail.com> wrote: > > > > > Thanks - that's not exactly what I want (although it may be as close > > > > as I can get). > > > > > That will stop the activity ever appearing in the task switcher, > > > > whereas I only want it to not appear in the task switcher after the > > > > activity calls finish(). > > > > > Is theer something else I should be doing at finishing time that would > > > > tell the framework that this activity was not revivable ? > > > > > Richard > > > > > On May 8, 5:53 pm, Dianne Hackborn <hack...@android.com> wrote: > > > > > The one you want is android:excludeFromRecents on your Activity that > > gets > > > > > launched from the notification. > > > > > > On Fri, May 8, 2009 at 8:00 AM, jarkman <jark...@gmail.com> wrote: > > > > > > > We've got a problem on 1.5 with the task switcher dialog (which, by > > > > > > the way, I love and am very grateful for). > > > > > > > We've got a couple of notificationy activities which close, and > > call > > > > > > finish(), and should never be seen again. > > > > > > > But, under some circumstances, these can be seen and switched to > > via > > > > > > the task switcher. I think this happens when they are the last > > > > > > activity left for the task. > > > > > > > What's the proper way to kill these things off ? I've looked at the > > > > > > flags on Activity, but none of them seem to be the right thing. > > > > > > > Thanks, > > > > > > > Richard > > > > > > -- > > > > > Dianne Hackborn > > > > > Android framework engineer > > > > > hack...@android.com > > > > > > Note: please don't send private questions to me, as I don't have time > > to > > > > > provide private support, and so won't reply to such e-mails. All > > such > > > > > questions should be posted on public forums, where I and others can > > see > > > > and > > > > > answer them. > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > and > > > answer them. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---