Here I have a code to select an image from the gallery, but how can I select multiple images from the gallery?
Ti.Media.openPhotoGallery({
mediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO],
success : function(e) {
alert(e);
ImageView.image = e.media;
lblWidth.text = 'W :'+e.media.width;
lblHeight.text ='H :' +e.media.height;
},
cancel : function() {
},
error : function(err) {
}
});
source
share