I'd like to display a gallery with all images on the SD card.
Of course, if I simply give it every single image on the card, most images will be included twice - first the original image, then the thumbnail.
Also, the app will run out of memory, dealing with those large images.
So what I'd like to do is find a list of all the images that have thumbnails, and for each of them, know both the thumbnail filename (so the gallery can display it) and the full image filename (so I can do something useful if the thumbnail is selected).
I can't figure out how to do that. The gallery app in the API demos has a few hardcoded images.
It sounds like such an obvious use for the gallery that there have to be examples somewhere...