onActivityResult() & onResume()
<p>Could someone tell me which gets called first, is it <code>onActivityResult()</code> or is it <code>onResume()</code>?
Example:</p>

<p>Activity A calls <code>startActivityForResult()</code> to start Activity B. B executes, completes and returns a result to A, but which method of A is called first, <code>onActivityResult()</code> or <code>onResume()</code>?</p>

<p>I know someone has answered this question already by referring to the <a href="http://developer.android.com/reference/android/app/Activity.html" rel="nofollow">Activity Docs</a>, however I couldn't find in there myself.</p>
