BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-21-2008, 01:41 PM   #1 (permalink)
New Member
 
Join Date: Mar 2007
Model: 9000
Carrier: Telcel
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Image.createImage

Please Login to Remove!

Hi,

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 4.6.0.166

Any idea?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Allen Bradley 1785-ME64 /A PLC-5 EEPROM Memory Cartridge 64K Nice Used Tested
$129.99
Allen Bradley 1785-ME64 /A PLC-5 EEPROM Memory Cartridge 64K  Nice Used Tested picture5 PCS AT24C256C-SSHL-T AT24C256BN SOP AT24C256 2EB 2-Wire Serial EEPROM
$1.75
5 PCS AT24C256C-SSHL-T AT24C256BN SOP AT24C256 2EB 2-Wire Serial EEPROM picture20 PCS AT24C128-10PU-2.7 DIP-8 AT24C128 24C128 2-Wire Serial EEPROM
$6.99
20 PCS AT24C128-10PU-2.7 DIP-8 AT24C128 24C128 2-Wire Serial EEPROM picture100 PCS AT24C08A-10PU-2.7 DIP8 AT24C08 24C08A 24C08 AT24C08N 2Wire Serial EEPROM
$12.99
100 PCS AT24C08A-10PU-2.7 DIP8 AT24C08 24C08A 24C08 AT24C08N 2Wire Serial EEPROM picture100 PCS AT93C46 SOP-8 93C46 46D 3-Wire Serial EEPROM
$15.39
100 PCS AT93C46 SOP-8 93C46 46D 3-Wire Serial EEPROM picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.