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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -