BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-02-2010, 06:51 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: 8800
PIN: N/A
Carrier: to developing blackberry application
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default doubts abt encoding image

Please Login to Remove!

i need explanation of this code. what is the purpose of "EnocdeImage.createEncodedImage(b,0,b.length)

EncodedImage ei = EncodedImage.createEncodedImage(b, 0, b.length);
Offline  
Old 09-02-2010, 10:09 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

It is creating an image from a byte array.

This might be done (for example) when you are downloading an image from a web server, and the image is MIME encoded.
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

Lot of 2 Mac 56L-L3-504JC Solenoid ValvesåÊ 150 Psi T18856
$125.0
Lot of 2 Mac 56L-L3-504JC Solenoid ValvesåÊ 150 Psi T18856 pictureVALCOR SCIENTIFIC SV955G56HC0-U9 31H Solenoid Valve T12761
$60.0
VALCOR SCIENTIFIC SV955G56HC0-U9 31H Solenoid Valve T12761 pictureCKD AB21023 A00B Solenoid Valve W/ Molded Coil T14673
$75.0
CKD AB21023 A00B Solenoid Valve W/ Molded Coil T14673 picture4 SNAP-TITE/ALLIED 2013N-X02-E6F6 Solenoid Valve LOT T12748
$80.0
4 SNAP-TITE/ALLIED 2013N-X02-E6F6 Solenoid Valve LOT T12748 pictureMac 45A-NAC-DDAJ-1KD Solenoid Valve Assembly 24VDC 5.4W VAC-120PSI T18840
$150.0
Mac 45A-NAC-DDAJ-1KD Solenoid Valve Assembly 24VDC 5.4W VAC-120PSI T18840 picture






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