If you want everything running in the same task, then don't use FLAG_ACTIVITY_NEW_TASK.
On Sun, Jun 13, 2010 at 5:59 AM, James Wang <jameswangc...@gmail.com> wrote: > Thanks, YangJian. > > What we want is to put all activities started by L stay in the same > task as L. So we have to set all activities`s taskAffinity the same > one. > For that reason, "Single Task" is not for what we want, because it is > goint to make A as root of that task which is L in fact. > > Thanks, Dianne. > We just want all activities developed by as in the same task. > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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