I have studied about this in a book. You can follow the steps below.
1. Start your child activity through
startActivityForResult method.
2. also use the
setResult method. (If you are using an
IDE to develop android application. You can find the syntax of the method there. PS :- It has two types of implementation)
3. For fetching the returned result use
onActivityResult method
For Example, refer the following notepad example
Notepad Example