What is the recommend way to get the main Activity from child Activity

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-03-29T23:42:03Z Indexed on 2010/03/29 23:43 UTC
Read the original article Hit count: 433

Filed under:

Hi,

My android application has 1 main activity. And it launches some sub-activity (which I wrote) and that also launches some sub-activity (which I wrote). I do this:

 Intent i = new Intent("my intent1");
 startActivity(i);

My question is how can each of my sub-activity and sub-sub-activity get back to the Parent activity?

Thank you.

© Stack Overflow or respective owner

Related posts about android