title: Android Camera Intent: how to get full sized photo?
body: <p>I am using intent to launch camera:</p>
  
  <pre><code>Intent cameraIntent = new Intent(
      android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
  getParent().startActivityForResult(cameraIntent, CAMERA_PIC_REQUEST);
  </code></pre>
  
  <p>and using:</p>
  
  <pre><code>Bitmap thumbnail = (Bitmap) data.getExtras().get("data");
  photoImage.setImageBitmap(thumbnail);
  photoImage.setVisibility(View.VISIBLE);
  </code></pre>
  
  <p>But it is only a thumbnail, how do I get the full bitmap? I know I can use my own Activity and use:</p>
  
  <pre><code>Camera.PictureCallback()
  </code></pre>
  
  <p>But is there anyway to do it using Intent?</p>
  
  <p>Thanks!</p>
  
  <p>edit:</p>
  
  <p>I also tried:</p>
  
  <pre><code>public void onActivityResult(int requestCode, int resultCode, Intent data) {
      Uri uri = data.getData();
      imageView.setImageURI(uri);
  }
  </code></pre>
  
  <p>It works for photo selected from gallery, but for camera intent, data.getData() returns null.</p>