Getting a result back from a child activity
Then, when the user presses the Back button to return to the QuizActivity, the ActivityManager calls
the following method on the parent activity:
protected void onActivityResult(int requestCode, int resultCode, Intent data)
The parameters are the original request code from QuizActivity and the result code and intent passed
into setResult(int, Intent).
Figure 5.11 shows this sequence of interactions.
Figure 5.11 Sequence diagram for GeoQuiz