Javascript Cordova从库中选择后获取图像uri
我想在选择图像表单库后获取图像uri,我当前的代码只返回编码的图像数据本身,我如何修改它以获取uri 谢谢Javascript Cordova从库中选择后获取图像uri,javascript,cordova,Javascript,Cordova,我想在选择图像表单库后获取图像uri,我当前的代码只返回编码的图像数据本身,我如何修改它以获取uri 谢谢 navigator.camera .getPicture( $scope.onFileSelectSuccess, $scope.onFail, {
navigator.camera
.getPicture(
$scope.onFileSelectSuccess,
$scope.onFail,
{
quality : 50,
correctOrientation: true,
encodingType: Camera.EncodingType.JPEG,
destinationType : navigator.camera.DestinationType.DATA_URL,
sourceType : navigator.camera.PictureSourceType.PHOTOLIBRARY
});