title: make bitmap using camera intent large
body: <p>My camera intent bitmap is only 160x120 i think how can i achieved full size bitmap</p>
  
  <p>btw i tried EXTRA_OUTPUT but I dont know how to use it</p>
  
  <p>i have 2 class</p>
  
  <p>and my main class onActivityResult is this</p>
  
  <pre><code>case CAMERA_REQUEST_CODE:
          if (resultCode == RESULT_OK) {
               Bitmap image1 = (Bitmap) data.getExtras().get("data");
  
              if (currentView == 0) {
                  frontView.setScaleType(ScaleType.CENTER);
                   frontView.setImageBitmap(image1);
                  isFrontActive = true;
              } else if (currentView == 1) {
                  rearView.setScaleType(ScaleType.CENTER);
                  rearView.setImageBitmap(camera.getImage());
                  isRearActive = true;
              }
  
          }
  
  
          break;
  </code></pre>
  
  <p>and this is photo.class code</p>
  
  <pre><code>public void openCamera() {
  
      File file = new File(Environment.getExternalStorageDirectory(),
              "Sample.jpg");
  
           Uri imgUri = Uri.fromFile(file);
      imagepath = file.getAbsolutePath();
  
      Intent cameraIntent = new Intent(
              android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
  
       cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, imagepath);
      mActivity.startActivityForResult(cameraIntent, CAMERA_REQUEST_CODE);
  
  }
  </code></pre>
  
  <p>so they are in a separate class and I dont know how to use EXTRA_OUTPUT please help me and thank you</p>
  
  <p>EDIT:</p>
  
  <p>I call photo.class</p>
  
  <p>by using</p>
  
  <p>photo.openCamera(); on Main Class</p>