I am trying to get the images from sd card using Intent. Below is my code:
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,"Select Picture"), SELECT_PICTURE);
When I am running my app on samsung it's shows images to select but when I run the same code on Micromax it's showing images as well as videos.
I want to select only images. How can I solve this problem?