title: Android Camera Resolution with Intent
body: <p>I would like to set the resolution of the photo taken in android as the resolution is too high on some phones. This is my current code:</p>
  
  <pre><code>                // start take photo activity
                  Intent cameraIntent = new Intent(
                          android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
                  cameraIntent.putExtra(
                          android.provider.MediaStore.EXTRA_OUTPUT,
                          Uri.fromFile(file));
                  startActivityForResult(cameraIntent, CAMERA_REQUEST);
  </code></pre>
  
  <p>I have read about setting the camera parameters to the required size but where do I put this as I am just calling the intent? I don't need anything special with the camera apart from specifying the res.</p>
  
  <p>thanks</p>