cordova - Android - How to specify photo file name/directory using Phonegap -


How can I specify the name and destination of the photos captured using PhoneGrap? This information was not found anywhere. It just goes to /sdcard/pic.jpg.

Even I have so far:

  function capture photo (navigator.camera.getPicture (onSuccess, onfell, {quality: 50, destination type) : Camera.domainType.FOLE_URI}); Success on the Festival (imageURI) {var image = document.getElementById ('myImage'); Image.style.display = 'block'; Image.src = imageURI; } File (message) on function {warning ('failed because:' message); }}    

Try content: // media / external / images / Media / n

where n is the image number that you are trying to call (1,2,3, etc.) < / Div>

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -