title: Android Image doesn't save using native camera app on Nexus S
body: <p>So this is kind of weird because out of the three devices I'm testing on, I only get this issue on the Google Nexus S with 4.0.3. I'm starting the native camera app to take a picture, and I don't care where the image is saved to, so I don't specify, hoping that it will get saved to the default location, but no location is saved at all!</p>
  
  <p>Does work fine on the Galaxy S 2 and Samsung Skyrocket (both with 2.3.something).</p>
  
  <p>Code I'm using to start the app</p>
  
  <pre><code>Intent camIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
  startActivityForResult(camIntent, TAKE_PHOTO);
  return true;
  </code></pre>
  
  <p>I'm keeping it really simple, that's why I'm confused! Does anyone know of any issues specific to the Nexus S's camera?</p>
  
  <p><strong>EDIT:</strong> It would seem that maybe the Nexus S's camera app saves the file in some onActivityResult, and since I start up the native camera app and don't save the image upon return, it doesn't save it. Does anyone know this this to be true? Seen this behavior?</p>
  
  <p><strong>EDIT:</strong> No one has seen this? I find it hard to believe I'm the first person to run into this...</p>
  
  <p><strong>EDIT:</strong> Alright, well after working on it some more, I tried adding a URI into the EXTRA_OUTPUT of the intent like so:</p>
  
  <pre><code>camIntent.putExtra(MediaStore.EXTRA_OUTPUT,
                              Uri.parse(folderPath + String.format("%d.jpg", System.currentTimeMillis())));
  </code></pre>
  
  <p>And now I see the behavior described here: <a href="https://stackoverflow.com/questions/1910608/android-action-image-capture-intent">Android ACTION_IMAGE_CAPTURE Intent</a> where the camera app doesn't do anything when I hit ok, and creating the file beforehand doesn't work either, as I tried like this:</p>
  
  <pre><code>File f = new File(folderPath, filename);
  f.createNewFile();
  camIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.parse(folderPath + filename));
  </code></pre>