I learned to use iOS default native gallery to select an image with the following code,
gallery.addEventListener('click', function(e) {
Titanium.Media.openPhotoGallery({
success: function(event) {
// set image view
Ti.API.debug('Our type was: ' + event.mediaType);
var cropRect = event.cropRect;
var image = event.media;
var thumbnail = event.thumbnail;
console.log('thumbnail:');
},
cancel: function() {
},
error: function(error) {
},
allowEditing:false,
mediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO]
});
});
But i want to create a custom image gallery with the use of grid view, for that, I tried to get the image urls from the iOS camera image gallery. I searched in many websites but I did't find anything that's related to iOS camera image gallery.
Thanks in adavnce........
Can anyone tell me, any modules or links to customize the image gallery by accessing the iOS camera images..