title: Android: Activity getting Destroyed after calling Camera Intent
body: <p>I am having two Activities (A1 , A2). A1 calls A2 and from A2 i am calling the camera intent as below</p>
  
  <pre><code>launchIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
  launchIntent.putExtra(MediaStore.EXTRA_OUTPUT,photoPath);   
  startActivityForResult(launchIntent,CAMERA_REQUEST);
  </code></pre>
  
  <p>It opens the camera, and i can take the picture. But the Problem arises once i click the save button (tick button in s3), my <strong>onActivityResult</strong> is not called instead A2's onDestroy method is called. I have few logics to be done in the onActivityResult fn.</p>
  
  <p>I had read some post in Stackoverflow regarding this but i couldnt get useful output from that.I have my manifest like this for my second Activity(A2)</p>
  
  <pre><code>android:configChanges="keyboardHidden|orientation|locale"
  android:screenOrientation="portrait
  </code></pre>
  
  <p><strong>Note:</strong> In HTC One X my onActivityResult fn is getting called, but in my S3 second Activity(A2) is getting destroyed</p>
  
  <p>Plz share ur thoughts on this. Thanks in Advance</p>