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]
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.

Reply via email to