I am currenctly packaging all my images in a single file sharing headers, and reading them with a stream like this:
InputStream is = getClass().getResourceAsStream("pngs.pns");
System.out.println("AVAILABLE: " + is.available());
byte all = new byte[is.available()];
is = null;
int n = 0;
System.out.println("LENGTH IS " + all.length);
But both printlns give me 0 on 7210 and on my friends t610 he says he gets "This application uses too much memory". Should I split the data into smaller chunks(cant see how that would change things as this file is only 2 kb big, and when reading without using isAvailable(), I see there IS content to be read).