BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-16-2008, 07:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8310
PIN: N/A
Carrier: Developper
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create a class to display a JPG.

Please Login to Remove!

Hi,

I want to create an object to display a JPG File.

i have extended my class from bitmap field. and i have see this thread :
load image from the SDCard

but i don't understand how to use the code in my class

Any idea ?
Offline  
Old 07-17-2008, 03:23 PM   #2 (permalink)
arv
Knows Where the Search Button Is
 
Join Date: May 2007
Location: indonesia
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can use object image from that code.

if you need JPEG, that you can you net.rim.device.api.system.JPEGEncodedImage
the EncodedImage will load the image from the file, the you can use
the image object, or bitmap object from getBitmap().
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

Vintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912 Wt 47 lb, 3.5"
$150.0
Vintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912  Wt 47 lb, 3.56 inch silicon wafer of 64K bit memory chips + Vintage DEC 14 inch hard disc
$75.0
6 inch silicon wafer of 64K bit memory chips  + Vintage DEC 14 inch hard disc  pictureDEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101
$60.0
DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101  pictureVintage Graton & Knight Co. Lineman's Belt Dec 1953 Belt Climbing Harness Strap
$33.99
Vintage Graton & Knight Co. Lineman's Belt Dec 1953 Belt Climbing Harness Strap pictureVintage Rare DEC 1073D / 1996 JD3487 H 9833
$49.99
Vintage Rare DEC 1073D  / 1996 JD3487 H 9833    picture






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