You can use this: http://code.google.com/android/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP
On Oct 6, 9:22 am, Alexis <[EMAIL PROTECTED]> wrote: > Hello all, > > Let's say I have an activity A (that displays the main menu as a list, > for example), then I jump to activity B, then activity C. > > From activity C, I would like to roll back to activity A and clear the > activity history stack at the same time. I mean that I want the user > not to get back to previous activity (namely C activity) but to leave > the main activity (and application) when they press the "Back" key. > > Thanks in advance for any help, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

