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,
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 p
can anyone help?
On Sep 23, 10:09 pm, Boozel 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 t
3 matches
Mail list logo