Tuesday, November 3, 2009

Re: [android-developers] Clear Activity stack?

Hi Mark,


Cheers,
James

On Tue, Nov 3, 2009 at 9:00 AM, Mark Wyszomierski <markww@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment