I would like to create an application for iOS and Android that (among other things) allows the user to view photos of the device and select some of them. Thus, I would like to present the user with a list of directories containing photographs, and as soon as the catalog opens, an image gallery will be displayed.
My questions:
1) Is there a standard way in Cordoba to get a list of โlibraryโ directories, such as camera photos, facebook photos, viber photos, screenshots, etc.?
2) Is there a way with Cordova to get a thumbnail of each image for display in the gallery (or is it even better to use each OS thumbnail caching system), since resizing the original images will lead to a quick launch of the application resources?
Notes:
a) I know about the camera plugin, which has a good own dialog for selecting an image, but it allows the user to select only one image.
b) I know about the image selection plugin, but it does not search in folders other than the camera directory (i.e. there are no Facebook, Viber, etc. directories).
c) I do not like a and b. Instead, I would rather display the gallery directly in my application, rather than showing a dialog for this.
html5 cordova phonegap-build
kagelos
source share