Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14382] Android: Enable Media.openPhotoGallery to select multiple media items instead of 1 at a time.

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-09-07T08:14:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelsandroid, media, openphotogallery
ReporterJoe Webster
AssigneeAshraf Abu
Created2013-06-25T20:47:14.000+0000
Updated2016-09-07T08:14:28.000+0000

Description

In relation to this Q&A thread: http://developer.appcelerator.com/question/153838/select-multiple-images-using-photo-gallery-picker-android-and-ios Would it be possible to add a property/the functionality to Media.openPhotoGallery() to enable the selection of multiple media items? Maybe something like: itemLimit, which defaults to 1, but by setting to a greater value enables multiple selection functionality?

Comments

  1. Carter Lathrop 2013-06-25

    Hello Joe, Thank you for your suggestion. I will be sure to pass this along to engineering to review. Hopefully they will have time to implement this in a future release. If not, I'm afraid it will be up to someone to create a module for the this feature just as there is one for iOS. Regards, Carter
  2. Hans Knöchel 2016-05-26

    There is a community PR for the Android-side (https://github.com/appcelerator/titanium_mobile/pull/7967). On iOS, it currently does not allow the user to select multiple images from the image picker. So developers are advised to fetch the images manually and create a custom UI to display those (like Facebook and Whatsapp do).
  3. Ashraf Abu 2016-06-23

    New PR: https://github.com/appcelerator/titanium_mobile/pull/8081 for review
  4. Ashraf Abu 2016-06-30

    PR reviewed and merged.
  5. Lokesh Choudhary 2016-08-16

    Verified the feature. Works as expected on android, we can select multiple photos with property allowMultiple set to {true}}. On iOS please refer to Hans Knoechel's comment to implement a custom UI to select multiple photos. Closing. Environment: Appc Studio : 4.7.0.201607250649 Ti SDK : 6.0.0.v20160814220332 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.7 Appc CLI : 6.0.0-24 Node: 4.4.4 Nexus 6 - Android 6.0.1

JSON Source