cordova - Unable to Rename Image name which capture by camera of intel xdk -


i working on intel xdk cordova.but unable capture image or after want rename it. , save specify path of mobile directory. redirect name of "test.jpg" every time

document.addeventlistener("intel.xdk.camera.picture.add",onsuccesscam); document.addeventlistener("intel.xdk.camera.picture.busy",onsuccesscam); document.addeventlistener("intel.xdk.camera.picture.cancel",onsuccesscam); function capturephoto() { intel.xdk.camera.takepicture(50,false,"jpg");}  function onsuccesscam(evt) { if (evt.success == true){ var image = document.createelement('img'+img_count); image.src=intel.xdk.camera.getpictureurl(evt.filename); image.id=evt.filename; }   }


Comments