Page 1 of 2
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 1:06 am
by Elias Jo
We are interest in allowing a user to browse through their existing library of photos and be able to select one or multiple photos that can then be uploaded to our servers.
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 1:19 am
by maxkatz
I think there are two options:
- You can use the browser File API to select a picture from the file system
- You can use the PhoneGap Camera component and set the picture source to Library, instead of taking a picture.
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 1:29 am
by Elias Jo
Is there some documentation on how to use the PhoneGap Camera component? I'm not sure how to even get started using that.
Thanks!
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 1:39 am
by maxkatz
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 1:46 am
by Elias Jo
I do not see any documentation about the PhoneGap camera component on the link you just provided.
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Tue Jan 07, 2014 4:24 am
by maxkatz
The link takes you to a section that has tutorials on using native APIs, including the Camera component.
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Sun Sep 28, 2014 4:39 pm
by Bachi
Hi,
How do I able to add multiple photos at a sametime?
Thank you,
Bachi Nyangar
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Mon Sep 29, 2014 1:29 am
by Yurii Orishchuk
Hi Bachi,
Here is doc: http://cordova.apache.org/docs/en/2.5...
You can read any folders/files you need with this File API.
Regards.
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Wed Oct 01, 2014 6:23 am
by Bachi
Yurii,
I looked at this links, unfortunately I don't see if there is any multiple photo upload option it may given. This is the page I want to implement on;
http://appery.io/app14/mobile-frame?s...
Thank you,
Bachi Nyangar
How do you access the library of photos on the device and then allow the user to select photos for upload?
Posted: Wed Oct 01, 2014 1:39 pm
by Maryna Brodina