This question is locked. New answers and comments are not allowed.
Hi,
I'm using Cordova 3.0.
What I am trying to do is take a picture, move it to a different directory and then transfer the image to the server.
I can't get past the taking a picture bit
navigator.camera.getPicture( function(image){
console.log('image: ' + image);
window.resolveLocalFileSystemURI(image,function(fileEntry){
consol.log('fileEntry path: ' + fileEntry.fullPath);
},
function(error){
console.log('resolve error');
}
);
},
function(error){
console.log('Error');
},
{quality : 75,
destinationType : Camera.DestinationType.DATA_URI,
sourceType : Camera.PictureSourceType.CAMERA,
allowEdit : true,
encodingType: Camera.EncodingType.JPEG});
As soon as I select save on the picture the app reboots. It behaves intermittently in that I think I have it fixed & then it blows up again & reboots the app....I get no messages anywhere to say what is going on ?????
Using Samsung Galaxy 3
I'm using Cordova 3.0.
What I am trying to do is take a picture, move it to a different directory and then transfer the image to the server.
I can't get past the taking a picture bit
navigator.camera.getPicture( function(image){
console.log('image: ' + image);
window.resolveLocalFileSystemURI(image,function(fileEntry){
consol.log('fileEntry path: ' + fileEntry.fullPath);
},
function(error){
console.log('resolve error');
}
);
},
function(error){
console.log('Error');
},
{quality : 75,
destinationType : Camera.DestinationType.DATA_URI,
sourceType : Camera.PictureSourceType.CAMERA,
allowEdit : true,
encodingType: Camera.EncodingType.JPEG});
As soon as I select save on the picture the app reboots. It behaves intermittently in that I think I have it fixed & then it blows up again & reboots the app....I get no messages anywhere to say what is going on ?????
Using Samsung Galaxy 3