I have implemented adding multiple image selection from the gallery in my project. However, I want to limit the user so he/she can select only 3 images from the gallery. I have implemented selecting multiple images from the gallery like this: How can I achieve this? Thanks. Answer You can get the count of ClipData when selecting multiple images from
Tag: android-gallery
android error when select one image not multiple
I am trying to get images from my Gallery and upload them to the server. I want to allow the user to select multiple images from gallery. when I select two or more images it works very well. But when I select one image only it ignore it and return nothing. Here is my code and I am printing message