There isn't a direct way to do this.  You could either handle onNewIntent()
in the activity to have it clear itself, or finish() itself and start a new
fresh instance.

On Fri, Jul 31, 2009 at 11:43 PM, Moto <[email protected]> wrote:

>
> Hello could someone help me out choosing the right flags?
>
> I have 3 activities, I want to allow only one of each of the
> activities to be on the history stack at one time.
>
> A>B>C>[GO TO B]
> gives me A>C>B  using FLAG_ACTIVITY_REORDER_TO_FRONT flag.
>
> Now the problem is that when I call B from C I want B to be restarted
> not just brought to the front...  how can I do that?
>
> Thanks!
> Moto!
> >
>


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

Reply via email to