only way I know how to close an activity is pressing the back button on the phone or calling finish() from the activity. I guess you could try to make some kind of public static function in the activity that calls finish? But you may just want to rethink opening so many activities in the first place, or call finish from the current activity whenever its prompted to open a new one.
On Sep 27, 1:11 pm, Boozel <[email protected]> wrote: > can anyone help? > > On Sep 23, 10:09 pm, Boozel <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---

