Android: how to select images multiple times with intent?

I searched the Internet for a long time without finding a solution. I want the user to choose the images of their gallery with the intention. For this, I use the goal GET_CONTENT:

Intent intentBrowseFiles = new Intent(Intent.ACTION_GET_CONTENT);
intentBrowseFiles.setType("image/*");
intentBrowseFiles.addCategory(Intent.CATEGORY_OPENABLE);
startActivityForResult(intentBrowseFiles,1);

But this only works for one image. Is it possible to make it work more than one, or do I need to rebuild my gallery for this?

+3
source share
1 answer

The documentation clearly states:

Output: The URI of the item that was selected. It must be a content URL: a URI so that any recipient can access it. (my emphasis)

, , , . " " , .

0

All Articles