Android: out of memory exception in Gallery
The images are fetched from the Web, each ranging from 300K to 500K in size, and stored in an arrayList of Drawables. The kb file size of the image you’re loading from the web isn’t directly relevant. Since they’re converted into bitmaps you need to calculate width * height * 4 bytes per image for … Read more