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


CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard picture

CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard

$8.99



ABB Capacitor Unit 3HAC14551-3/05A picture

ABB Capacitor Unit 3HAC14551-3/05A

$949.95



Nichicon Capacitor CE 85C NX 450V 8200uF  picture

Nichicon Capacitor CE 85C NX 450V 8200uF

$67.45



AmRad USA2236 CPT Round Motor Run Capacitor 45+5 MFD 370 or 440VAC 50-60Hz picture

AmRad USA2236 CPT Round Motor Run Capacitor 45+5 MFD 370 or 440VAC 50-60Hz

$29.99



CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95



6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59







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