I am using cordova 3.4.1 and i want to browse the images from gallery and disply the name in the lablel , i am using the code below but it was writting a number like 17654 and with out any exrtension of the image
imageData.substr(imageData.lastIndexOf('/') + 1)
Manish Kumar ChoudharyPosted Jan 7, 2015, 2:02 AM
Hi Osmosys Osmosys,
I don't have much knowledge of android so I can't suggest you the right answere but Go through following links it might help you
http://joeriks.com/2014/04/16/select-images-from-photo-gallery-in-a-cordova-phonegap-app-on-android/
https://bmpradeep.wordpress.com/2013/01/02/capturing-and-uploading-an-image-to-the-web-server-in-phonegap-based-application/