In the Android gallery, select Whatsapp

This question has been asked before, but I am afraid that the answers may be outdated. How can I use my own gallery application (let's say API 14) to achieve multiple image selection like WhatsApp?

+5
source share
2 answers

It doesn’t work, so I used one of the open source libraries for Android: Universal image downloader .

0
source

Do you mean:

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); 

Note. The EXTRA_ALLOW_MULTIPLE parameter is only available in Android API 18 and above.

This link talks about creating a custom multi-select image picker.

+1
source

Source: https://habr.com/ru/post/1201960/


All Articles