Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1
Registered: ‎07-30-2010
My Device: 8520
My Carrier: China Mobile

How to display the gif file in Eclipse plug-in

Hi, There


I used the followed code to display a gif on the screen, but it does not display anything on the screen. Why?

the customer.gif file is in the project folder.


  Bitmap cuBitmap = Bitmap.getBitmapResource("customer.gif");
  BitmapField cuBitmapField = new BitmapField(cuBitmap);



Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: How to display the gif file in Eclipse plug-in

hey gif fields wont display like this u need to do animations

u need to create ur own class that extends bitmapfield


in this forum there are lots of post u can search for same type querry