11-21-2008, 01:41 PM
Join Date: Mar 2007
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Problem with Image.createImage
Please Login to Remove!
I have a problem using the method createImage with a byte array.
If I use it with a String as a param, it works correctly, but if I use with createImage(data, 0, data.lenght) the application freezes. (if I put incorrect arguments int the method, it returns some exceptions, so I think this is not the problem)
I already try freeing all the memory but it doesn't work.
I use it because I'm taking pictures with a blackberry bold 9000 and the getsnapshot method returns a byte array and I want to show this information.
My app is a midlet. I use the JDE 4.6 and the software version is 22.214.171.124