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


1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ picture

1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ

$317.00



MITSUBISHI FR-A820 1.5K TFA INVERTER A500 240 V #L-220 picture

MITSUBISHI FR-A820 1.5K TFA INVERTER A500 240 V #L-220

$684.00



1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ

$228.00



Padded Headset for Vocollect T2, T2X, T5, SR20T, A500 w/ Adjustable Mic picture

Padded Headset for Vocollect T2, T2X, T5, SR20T, A500 w/ Adjustable Mic

$133.88



1Pcs USED A500 7.5KW 380V FR-A540-7.5K-CH frequency converter picture

1Pcs USED A500 7.5KW 380V FR-A540-7.5K-CH frequency converter

$401.02



Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP  picture

Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP

$649.99







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