check setFlags in Intent class. Also read
http://developer.android.com/guide/topics/fundamentals.html#acttask

You can clear the stack upto a particular activity, if you want you
can also set that your activity A is never kept in stack.

HTH

On Mar 4, 2:23 am, Sam <[email protected]> wrote:
> So I have an app with Activity A. The layout on the activity is
> dynamic genearted.
> So it's possible that on Activity A a user hits a button that goes to
> "A" and the new page looks different, then a user clicks another
> button to go to "A" again. Now I have 2 Activities in the history
> stack. A, A, and currently on A.
> A->A-> A ...
>
> Is it possible that if a user clicks a button that the whole Activity
> stack is cleared in a scenario such as this?

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