Override the onActivityResult for all your activities to call finish() if they get back RESULT_OK. Have your last activity setResult (RESULT_OK); before it finishes. http://developer.android.com/reference/android/app/Activity.html#onActivityResult(int,%20int,%20android.content.Intent)
On Sep 23, 3:09 pm, Boozel <boozelcl...@gmail.com> wrote: > Hi > Is there anyway to close one activity from another? > I want to go through a whole bunch of activities once i get to the > last one close all the previous ones. i cant close them as i move on > to the next one because i want to be able to go back unless ive got to > the last one. > Thanks for any help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---