Have you tried simply calling finish() for every activity you want to
remove from stack?

On Jan 7, 8:54 am, Beena <swdeveloper2...@gmail.com> wrote:
> Hi All,
> I have problem of removing activity.
> I have 5 Activities in sequence Activity1,  Activity2, Activity3,
> Activity4, Activity5.
> When I am at Activity5 there is a button through I can go to
> Activity2.
> Means jump from 5 to 2 with removing the Activity3 & 4.
> How can I do that?
>
> Please help regarding this.
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to