Called when an activity you launched exits with a result code
other than RESULT_CANCELED, giving you the resultCode it
returned, and any additional data from it.
Called when an activity you launched exits, giving you the requestCode
you started it with, the resultCode it returned, and any additional
data from it.
Called to retrieve per-instance state from an activity before being
killed so that the state can be restored in onCreate(Bundle) or
onRestoreInstanceState(Bundle) (the Bundle populated by this method
will be passed to both).