Android closing child activity from parent activity
You can start activity B by using startActivityForResult (Intent intent, int requestCode)
then you can close activity B by calling finishActivity (int requestCode)
.
What you should do is start your activity with startActivityForResult(yourIntent, childId);
Then, when you want to kill your child activity, try finishActivity(childId);
Saw that Here