on back pressed of activity c set the setflag(intent.flag_activity_clear_top)
this will give you the activity A Thanks and Regards:- Ankur Goel On Fri, Jul 29, 2011 at 12:50 AM, Mark Murphy <mmur...@commonsware.com>wrote: > On Thu, Jul 28, 2011 at 1:20 PM, Ab Caballero <a...@mac.com> wrote: > > I have an application with 3 activities, which i will call A, B and C. > > The activities fire in sequence A->B->C, with each previous activity > > being paused. My question is, how do i go from the C activity back to > > the A activity, without going to the B activity first, i.e. C->A? > > startActivity(), with an Intent identifying A. Use > FLAG_ACTIVITY_REORDER_TO_FRONT to bring the existing instance to the > top of the stack. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in NYC: http://marakana.com/training/android/ > > -- > 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 -- 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