This question is locked. New answers and comments are not allowed.
In camera function how can I pass both destination type data url and file url in one function
Following is my code
function camera()
{
navigator.camera.getPicture(onSuccess, onFail, {
quality: 50,
destinationType: Camera.DestinationType.DATA_URL
});
function onSuccess(imageData)
{
here in imageData I will be getting the image data a i need to get the image uri as well i.e the value obtained from
destinationType: Camera.DestinationType.FILE_URL
}
Following is my code
function camera()
{
navigator.camera.getPicture(onSuccess, onFail, {
quality: 50,
destinationType: Camera.DestinationType.DATA_URL
});
function onSuccess(imageData)
{
here in imageData I will be getting the image data a i need to get the image uri as well i.e the value obtained from
destinationType: Camera.DestinationType.FILE_URL
}