Android Activity Lifecycle Explained
2 answers
Typically this will be onResume () followed by onActivityResult (). However, it is possible, though unlikely, that the calling activity will be killed at some point while the user is working on another activity; this happens when the system runs out of memory, and at that moment it starts killing things, starting with the "most inactive" one. In this case, I am assuming it will go through onCreate (), onStart (), onResume (), and then finally onActivityResult ().
Exact callback for onActivityResult ():
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
//Your code here
}
+3
a source to share