Use onActivityResult() method in stack of activity then pass unique result code to finish that activity..
On Nov 11, 7:08 am, Dianne Hackborn <[email protected]> wrote: > You can't do this without programmatically getting all of your activities to > call finish() (possible using CLEAR_TOP to reduce some of that), implying > that they may need to be re-instantiated to be able to do so. > > What you are trying to do here isn't really how tasks are supposed to work. > The whole point of them is that they are entirely separate, unrelated > things (basically applications). > > On Wed, Nov 10, 2010 at 3:22 PM, raukodraug > <[email protected]>wrote: > > > > > > > > > > > Hi everyone, > > I have an app that contains multiple tasks (stacks of activities). > > I can jump from one to another with no problem, but when i finish a > > task it goes to the previous stack. I would like to finish all stacks > > whenever i finish one of them, because I want my application to > > finish. > > Does anyone have an idea on how to achieve this? > > > Cheers, > > > -- > > 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]<android-developers%2Bunsubs > > [email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > 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 [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

