Parent/child refers to embedded activities (inside of an ActivityGroup), not one activity starting another top-level activity.
On Tue, Mar 30, 2010 at 8:45 AM, Paolo <[email protected]> wrote: > My child activity X is called from Parent activity P through > startActivity(intent). > I want to close P when X called its finish() method. > I override a method finishFromChild(Activity child) in P and called > finish() in it. > But this functions (finishFromChild(Activity child)) is not being > called after X finish() > Is it a known bug or I am missing some thing? I googled and also > searched the groups but no help. > > An alternative could be... using StartActivityForResult() and a > "fake" onActivityResult, where I can finish the parent activity, but > this way is quite bad, i think... > > I prefer the first one, if it would work.... > > any solution? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

