+ 1

Will this code helpful to open gallery and to choose image?

Intent intent =newIntent(); // Show only images, no videos or anything elseintent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); // Always show the chooser (ifthere are multiple options available) startActivityForResult (Intent.createChooser(intent,"Select Picture"), PICK_IMAGE_REQUEST);

21st Jul 2017, 3:37 AM
Sarthak
Sarthak - avatar
1 Odpowiedź
+ 2
I don't think so but keep trying
21st Jul 2017, 4:43 PM
Irwin Lopez
Irwin Lopez - avatar