title: How to make Android Camera Intent return full size picture
body: <p>I am using the jengelsma code from this post <a href="https://stackoverflow.com/questions/5991319/capture-image-from-camera-and-display-in-activity">Capture Image from Camera and Display in Activity</a> to get an image from the camera.</p>
  
  <p>When I get the returned image it is only small and when I try to expand it I instantly lose the image quality.</p>
  
  <p>I assume that this is only the preview size however I have been unable to find out to return the large image as it is this I need in order to manipulate it.</p>
  
  <p>For reference the code is:</p>
  
  <pre><code>package edu.gvsu.cis.masl.camerademo;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.graphics.Bitmap;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.Button;
  import android.widget.ImageView;
  
  public class MyCameraActivity extends Activity {
  private static final int CAMERA_REQUEST = 1888; 
  private ImageView imageView;
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      this.imageView = (ImageView)this.findViewById(R.id.imageView1);
      Button photoButton = (Button) this.findViewById(R.id.button1);
      photoButton.setOnClickListener(new View.OnClickListener() {
  
          @Override
          public void onClick(View v) {
              Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); 
              startActivityForResult(cameraIntent, CAMERA_REQUEST); 
          }
      });
  }
  
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {  
      if (requestCode == CAMERA_REQUEST &amp;&amp; resultCode == RESULT_OK) {  
          Bitmap photo = (Bitmap) data.getExtras().get("data"); 
          imageView.setImageBitmap(photo);
      }  
  } 
  }
  </code></pre>
  
  <p>Any help greatly appreciated. </p>