I develop a Java application that read all the images stored on the phone and show thumbnails of it to the user (like the default gallery).
My problem is to resize large image. Each time I create the Image object with a large image, I get an OutOfMemory. It is normal.
So, I coded a way to extract thumbnail in the Exif. But not all the pictures include a thumbnail.
I read in a post that I must decompress the image by my own and create the thumbnail on the fly. But I have no idea how to do that.
Anybody have code, links, other suggestions ?
Thanks in advance.