Android png images big in memory
- by taivo
i have an application in android that has an imageflipper. Problem is, after about 8 images loaded to memory, i get an out of memory error.
Well, i tried to do dynamic image loading, so that if the user flips 2 images, i'll load next 2 to memory and delete 2 first ones. It kind of works, but it ugly and i have trouble when user flips images back(imageflipper.showprevious()), i can't really shift all images and place new images to the beginning.
My question is, is there a better way to do this kind of stuff? Resizing images didn't really help.