title: Android - Take a photo and crop
body: <p>I'm trying to follow this tutorial: <a href="http://mobile.tutsplus.com/tutorials/android/capture-and-crop-an-image-with-the-device-camera/" rel="nofollow">http://mobile.tutsplus.com/tutorials/android/capture-and-crop-an-image-with-the-device-camera/</a></p>
  
  <p>But, after taking the photo, when the picture is going to be cropped, appears, "loading image..." forever.</p>
  
  <p>I've tried to Toast the "picUri = data.getData();" and it returned null. I've read that in some devices we need to specify filename for picture to be taken, so I tried, but no good results.</p>
  
  <pre><code>Intent captureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
                  captureIntent.putExtra(MediaStore.EXTRA_OUTPUT, "file:///tmp/android.jpg");
                  startActivityForResult(captureIntent, CAMERA_CAPTURE);
  </code></pre>
  
  <p>I'm testing it in a Galaxy Nexus and a Galaxy 5.</p>
  
  <p>Someone have any idea?</p>
  
  <p>Thank you.</p>