Home How do you catch the image URI when selecting multiple images from gallery?
Reply: 0

How do you catch the image URI when selecting multiple images from gallery?

user482
1#
user482 Published in April 26, 2018, 5:27 pm

I have a method that allows you to select multiple images from the native system gallery.

public void selectImages(View view){
    Intent intent = new Intent();
    intent.setType("image/*");
    intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
    intent.setAction(Intent.ACTION_GET_CONTENT);
    startActivityForResult(Intent.createChooser(intent,"Select Picture"), 1);
}

How would you go about catching the URI image values?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.31903 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO