Re: [android-developers] Closing Many Activity at once

2011-07-05 Thread Mark Murphy
Use startActivity() with an Intent for activity B, and both FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_SINGLE_TOP as flags on the Intent. On Tue, Jul 5, 2011 at 5:00 AM, Ravi Sharma wrote: > Hi, > I have Activities tree like this > My Application Starts With Activity A(Login) > Then from A user ca

[android-developers] Closing Many Activity at once

2011-07-05 Thread Ravi Sharma
Hi, I have Activities tree like this My Application Starts With Activity A(Login) Then from A user can go to Activity B Then from B User can go to C Then From C user can go to D or back to B Then From D user can go to E or back to C In Short (as in any mobile apps) A -> B <-> C <-> D <-> E Now i