<p dir="auto">I have an app design requirement to pick images on a custom layout, I can't have the native picker dialog pop-up.<br>
So I need access to just the uris of all photos and videos in library, to implement my custom picker layout.<br>
Therefore I'm requesting a method to return a list of the uris for all pictures/videos in the gallery, instead of the current one that opens a native picker dialog.<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/collinjackson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/collinjackson">@collinjackson</a> hopefully you can agree with me that this is a common designer request, hence it is a useful extension to your plugin, specially since it allows the modularizing of the logic from the layout</p>
<p dir="auto">Right now the picker defaults to single mode, it would be nice to be able to have a multi-mode, by passing a parameter when you launch it, then an array is returned of files instead of just one.</p>
<p dir="auto">for android this might help speed things up<br>
unique code</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);"><pre class="notranslate"><span class="pl-s1">intent</span>.<span class="pl-en">putExtra</span>(<span class="pl-smi">Intent</span>.<span class="pl-c1">EXTRA_ALLOW_MULTIPLE</span>, <span class="pl-c1">true</span>);</pre></div>
<p dir="auto">full example</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Intent intent = new Intent();
intent.setType(&quot;image/*&quot;);
intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,&quot;Select Picture&quot;), 1);"><pre class="notranslate"><span class="pl-smi">Intent</span> <span class="pl-s1">intent</span> = <span class="pl-k">new</span> <span class="pl-smi">Intent</span>();
<span class="pl-s1">intent</span>.<span class="pl-en">setType</span>(<span class="pl-s">"image/*"</span>);
<span class="pl-s1">intent</span>.<span class="pl-en">putExtra</span>(<span class="pl-smi">Intent</span>.<span class="pl-c1">EXTRA_ALLOW_MULTIPLE</span>, <span class="pl-c1">true</span>);
<span class="pl-s1">intent</span>.<span class="pl-en">setAction</span>(<span class="pl-smi">Intent</span>.<span class="pl-c1">ACTION_GET_CONTENT</span>);
<span class="pl-en">startActivityForResult</span>(<span class="pl-smi">Intent</span>.<span class="pl-en">createChooser</span>(<span class="pl-s1">intent</span>,<span class="pl-s">"Select Picture"</span>), <span class="pl-c1">1</span>);</pre></div>
<p dir="auto">for iOS I think maybe using this library might help, and seems up to date.</p>
<p dir="auto"><a href="https://github.com/hackiftekhar/IQMediaPickerController">https://github.com/hackiftekhar/IQMediaPickerController</a></p>