Thanks Dianne, thats exactly what I was looking for.

On Apr 6, 11:14 am, Dianne Hackborn <[email protected]> wrote:
> If you just want to these to live as separate tasks, use
> android:taskAffinity to set them to be different things; use "" for no task
> affinity, or for example ":other" or whatever text you want for a separate
> real task.  (Note the : prefix is important since that puts you in a
> namespace private to your package, rather than a global namespace that other
> applications may also use.)
>
>
>
>
>
> On Mon, Apr 5, 2010 at 7:41 PM, mr.winky <[email protected]> wrote:
> > I've searched through the postings and believe this is a unique case
> > where it is appropriate to ask for feedback. Take the following
> > example:
>
> > Program contains 3 activities : A, B, C
> > and one service: S
>
> > The launch of the activities is as follows:
>
> > B->C
> > S->A
>
> > Therefore activity B and C are part of a separate execution than what
> > the service launches (activity A).
>
> > The problem:
>
> > User launches B from the launcher, navigates to C and presses the
> > 'home' key (the history stack is now B->C). Sometime in the future the
> > service launches activity A, and upon exiting activity A the user is
> > now presented with activity C which is not the desired intent.
>
> > Using "no history" is not an option on B/C because I want the user to
> > be able to navigate 'back' from C to B. My question to the forum is
> > how to setup the project such that when A is launched, the activity
> > stack is always A, and not B->C->A or B->A.
>
> > --
> > 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
>
> > To unsubscribe, reply using "remove me" as the subject.
>
> --
> 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.- Hide quoted text -
>
> - Show quoted text -

-- 
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

Reply via email to