you can use activityB.finish(); for each activity you want remove. On 3 nov, 18:00, 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

