javascript - file:// prefix is missing in the returned URI of navigator.camera.getPicture -


my cordova mobile app has file chooser uses following code:

   navigator.camera.getpicture(photocapturedsuccess(fileuri),              photocapturedfail,            {             quality: 50,             destinationtype: navigator.camera.destinationtype.file_url,             sourcetype: navigator.camera.picturesourcetype.savedphotoalbum,             correctorientation: true         }); 

the fileuri returned navigator.camera.getpicture() file:///storage/emulated/0/dcim/camera/img_20041615_135137.jpg working fine 1 day feature stopped working. on debugging code found fileuri missing file:// prefix. ie. uri starts /storage/emulated clue happened?

thanks


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -