title: PhoneGap camera restarts the application
body: <p>I'm using PhoneGap's <code>navigator.camera.getPicture</code> function to retrieve a photo from the device's camera on Android.</p>
  
  <pre><code>function onSuccess(imageData) {
      alert("Success!");
  }
  
  function onFail(message) {
      alert('Failed because: ' + message);
  }
  
  $(function() {
      $("button").tap(function() {
          navigator.camera.getPicture(onSuccess, onFail, { quality: 50 }); 
      });
  });
  </code></pre>
  
  <p>When I click the button, it <em>does</em> start the camera, but when I click OK on the camera app after taking a photo, it restarts the application.</p>
  
  <p>I tried to:</p>
  
  <ul>
  <li>use different source types.</li>
  <li>use different destination types.</li>
  <li>reduce quality.</li>
  </ul>
  
  <p>Any ideas?</p>
  
  <p>EDIT: I also started <a href="https://github.com/callback/phonegap/issues/5" rel="noreferrer">an issue at github</a>.</p>