BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-24-2008, 05:08 AM   #21
xray2100
Knows Where the Search Button Is
 
Join Date: Nov 2006
Location: shanghai
Model: 8700G
Carrier: china mobile
Posts: 17
Default

Please Login to Remove!

I have a new idea.
1. Change the gif file extend name, for example: 001.gif -> 001.dat
2. Add the file into project
3. use java.lang.Class to get the data of gif
4. GIFEncodedImage.createEncodedImage(byte[],int,int, String) to create the EncodedImage
So u can have the EncodedImage of the original gif dat, and the frames is not lost.

If u display the image with BitmapField, create a thread to set its bitmap with different frame.

Last edited by xray2100; 07-24-2008 at 05:49 AM.. Reason: Forget an important step
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


FANUC Servo Amplifier A06B-6240-H208 picture

FANUC Servo Amplifier A06B-6240-H208

$3199.00



MITSUBISHI Amplifier MR-J2S-200B MRJ2S200B AC Servo Drive New in box picture

MITSUBISHI Amplifier MR-J2S-200B MRJ2S200B AC Servo Drive New in box

$463.00



 MITSUBISHI Amplifier MITSUBISHI MR-J2S-200B MITSUBISHI MRJ2S200B AC Servo Drive picture

MITSUBISHI Amplifier MITSUBISHI MR-J2S-200B MITSUBISHI MRJ2S200B AC Servo Drive

$485.00



Used Fanuc Servo Amplifier A06B-6114-H102 picture

Used Fanuc Servo Amplifier A06B-6114-H102

$869.33



Voice Amp Amplifier 201141-01 3M Scott EPIC 3 Safety Compatible w AV3000 AV2000 picture

Voice Amp Amplifier 201141-01 3M Scott EPIC 3 Safety Compatible w AV3000 AV2000

$69.99



IM1-22Ex-R TURCK ISOLATING SWITCHING AMPLIFIER NEW  picture

IM1-22Ex-R TURCK ISOLATING SWITCHING AMPLIFIER NEW

$154.00







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