I have uploaded a new Live Wallpaper up onto the Android Market about a week ago and I am getting quite a few reports of a java.lang.OutOfMemoryError .
This error is happening to smaller phones with not enough memory to load my 1115 by 1000 image as the Live Wallpaper background.
I have tried using inSampleSize, but it scales the background down so much that when I try to scale it back to the normal size it is all pizelated.
Does anyone possibly have an example of how I can fix this problem with my jpg image?
i think that slayton’s reply is probably the first thing to address, but you can also save a lot of memory using inPreferredConfig and anything less than ARGB_8888. Try RGB_565: