MediaStore: get image data, thumbnail and folder
I have two lists. Let's call them AlbumsList and PicturesList. The first one shows photo album cover (one of the images from it) it's name and number of pictures in it. The second one shows all of the images contained in a chosen album. I've already done it using File class but it works too slow and finds all of the images on device when I need only those from gallery. I've read about MediaStore content provider but have never used it. So I have 2 questions: How to find "photo albums" (folders in gallery containing pictures), thumbnails for them and number of pictures in them using MediaStore