title: Galaxy S3 - taking picture in portrait mode destroys activity
body: <p>So, this question has been asked in many forms on this forum but none of the answers are helping me.  I have a bug which I've only been able to reproduce on the Samsung Galaxy S3.</p>
  
  <p>I want to simply take and store a photo using the phone's camera, but my Activity is being destroyed before I ever hear back from onActivityResult.  This ONLY happens when I use the camera in portrait mode, in landscape mode it's fine.</p>
  
  <p>I'm using this code to launch the camera:</p>
  
  <pre><code>Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
  startActivityForResult(intent, Config.ACTIVITY_TAKE_PHOTO);
  </code></pre>
  
  <p>In portrait mode, I never see a call to onActivityResult (from the Camera activity), I just see an onDestroy() called in my launching activity.  There are no exceptions or errors in the log, and nothing obviously wrong to make it crash.</p>
  
  <p>I've seen posts that recommend adding "android:configChanges="orientation|keyboardHidden"" to the Manifest, and doing lots of other things to manage the orientation change that occurs when using the camera, but nothing has helped so far.</p>
  
  <p>Has anyone else solved this problem?</p>