diff --git a/framework/assets/js/camera.js b/framework/assets/js/camera.js index 17af89d7..e1467c63 100755 --- a/framework/assets/js/camera.js +++ b/framework/assets/js/camera.js @@ -127,7 +127,7 @@ Camera.prototype.getPicture = function(successCallback, errorCallback, options) options.maxResolution = 0; } if (options.destinationType === null || typeof options.destinationType === "undefined") { - options.destinationType = Camera.DestinationType.DATA_URL; + options.destinationType = Camera.DestinationType.FILE_URI; } if (options.sourceType === null || typeof options.sourceType === "undefined") { options.sourceType = Camera.PictureSourceType.CAMERA; diff --git a/framework/src/com/phonegap/CameraLauncher.java b/framework/src/com/phonegap/CameraLauncher.java index dd619a24..f9257857 100755 --- a/framework/src/com/phonegap/CameraLauncher.java +++ b/framework/src/com/phonegap/CameraLauncher.java @@ -101,7 +101,7 @@ public class CameraLauncher extends Plugin { try { if (action.equals("takePicture")) { int srcType = CAMERA; - int destType = DATA_URL; + int destType = FILE_URI; this.targetHeight = 0; this.targetWidth = 0; this.encodingType = JPEG;