Wednesday, June 13, 2007

m500 Crashes Loading Large Images

the Samsung m500 throws a java.lang.IllegalArgumentException when you try to load a large image using the Image.createImage method.

In the program I'm using, it tries to download an Image that is twice the width, and twice the height of screen. It downloads it through a socket, and tries to load it via a byte array. If you reduce the size to like 1.5 x the width and height, it loads... This issue is killing me because this exception just doesn't make any sense :)

Has anyone else seen this issue?

No comments: