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

LECROY 1454 HIGH VOLTAGE MAINFRAME
$1500.0
LECROY 1454 HIGH VOLTAGE MAINFRAME picture PHILIPS, AGILENT TELEMETRY MAINFRAME M2604A WITH 8 RECEIVERS M2603A
$99.99
 PHILIPS, AGILENT TELEMETRY MAINFRAME M2604A WITH 8 RECEIVERS M2603A pictureKinetic Systems V195 13 slot Mainframe VXI Bus Agilent HP E1413C E1467A E1463A
$1999.0
Kinetic Systems V195 13 slot Mainframe VXI Bus Agilent HP E1413C E1467A E1463A pictureTektronix VX1410 VXI Test Mainframe HP E8491A VX4801 CDS 73A-270 73A-541 Module
$1999.0
Tektronix VX1410 VXI Test Mainframe HP E8491A VX4801 CDS 73A-270 73A-541 Module  pictureTEKTRONIX TM 504 TM504 MAINFRAME / CHASSIS
$50.0
TEKTRONIX TM 504 TM504  MAINFRAME / CHASSIS picture






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