Android: Press Home Button in Child Activity to kill Parent Activity
<p>I'm having an activity A which starts another activity B, I use the startActivityForResult method.
My plan is:
When I press Home button in activity B, I want Activity A to be killed as well.
In the onStop() of activity B, I tried setResult(1,mIntent) and in activity A, when request code ==1, I finish A.</p>

<p>However, when I press home button in B, the setResult method didn't get called.</p>

<p>I'm just wondering anybody knows why is that or is there another way to kill parent activity in child activity when home button pressed?</p>
