onActivityResult() will not be called if call for camera
<p>My simple structure:</p>

<ul>
<li>List.java (Activity A)</li>
<li>New.java  (Activity B)</li>
</ul>

<p>Steps:</p>

<ol>
<li>Start A and use <code>startActivityForResult()</code> to turn to B by a button.</li>
<li>Then in B, use <code>Intent it = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);</code> and <code>startActivityForResult()</code> to take a photo by call up camera.</li>
<li>After that, <code>onActivityResult()</code> in B is called. Then I click a button to set a resultcode and close B.</li>
</ol>

<p>However, B is closed, but <code>onActivityResult()</code> in A is never called.</p>

<p>If I skip the step to take a photo, click a button to set a resultcode and close B. <code>onActivityResult()</code> in A will be successfully called.</p>

<p>I'm just confused about these two situations. Please anyone tell me why the first situation happens?</p>

<p>Thank you very much.</p>
