function capturePhotoWithDataUrl() {
        navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50, 
            destinationType: Camera.DestinationType.FILE_URI,//DATA_URL
            saveToPhotoAlbum: true
        });
    }
// called from button. A new photo can be captured and saves in base64/png.
called from button. A new photo can be captured and saves in base64/png.
called from button . A new photo can be captured and saves in base64 / png .
function capturePhotoWithDataUrl() {
        navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50, 
            destinationType: Camera.DestinationType.FILE_URI,
            saveToPhotoAlbum: true
        });
    }
function capturePhotoWithDataUrl ( ) { navigator . camera . getPicture ( onPhotoDataSuccess , onFail , { quality : 50 , destinationType : Camera . DestinationType . FILE_URI , saveToPhotoAlbum : true } ) ; }
called from button.
called from button .
//DATA_URL