Hi Mark,

http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP

<http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP>
Cheers,
James

On Tue, Nov 3, 2009 at 9:00 AM, Mark Wyszomierski <[email protected]> wrote:

> Hi,
>
> Is there a way to clear our Activity stack? For example, a user in my
> app progresses through these activities, one is launched from the
> previous activity:
>
>  ActivityA ->
>  ActivityB ->
>  ActivityC
>
> if the user is now looking at ActivityC, and they hit the back button,
> they will go back to ActivityB.
>
> Is it possible to add a menu to ActivityC where the user can clear
> their activity stack, and then launch a new instance of ActivityA?
> This would be so the user can jump to a particular activity in my
> application without getting confused with the back button + history,
>
> Thanks
>
> --
> 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%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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