title: 'Error capturing image' with Phonegap on Android
body: <p>I need to capture an image with my Phonegap app. On iOS everything works fine but on Android (via Phonegap Build) it throws an error with "Error capturing image".</p>
  
  <p>I added the following lines to my config.xml but that doesn't change anything:</p>
  
  <pre><code>&lt;feature name="Camera"&gt;
      &lt;param name="android-package" value="org.apache.cordova.camera.CameraLauncher" /&gt;
  &lt;/feature&gt;
  &lt;feature name="http://api.phonegap.com/1.0/device" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/camera" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/file" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/media" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/network" /&gt;
  </code></pre>
  
  <p>My API call looks like that:</p>
  
  <pre><code>    $(document).on('click', '#cameraPreview', function() {
          pictureSource = navigator.camera.PictureSourceType;
          destinationType = navigator.camera.DestinationType;
  
          navigator.camera.getPicture(onGetPictureSuccess, onGetPictureFail, {
            quality: 40,
            sourceType: Camera.PictureSourceType.CAMERA,
            destinationType: Camera.DestinationType.FILE_URI,
            allowEdit: true,
              encodingType: Camera.EncodingType.JPG,
            targetWidth: 1000,
            targetHeight: 1000,
            saveToPhotoAlbum: true,
            correctOrientation: 1
          });
      });
  </code></pre>
  
  <p>I use Phonegap 3.7 with Phonegap Build.</p>