how to show animated gif in from

I want to show animated gif in form. How to do it. Any Idea?
[67 byte] By [Atiqea] at [2007-11-27 3:41:36]
# 1
I am still waiting for reply. Do anyone has answer?
Atiqea at 2007-7-12 8:45:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
CustomItem may be the best .which is a item do as a Canvas.
hoverleea at 2007-7-12 8:45:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Can you give me an example.
Atiqea at 2007-7-12 8:45:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

err....for example:

class MyItem extends CustomItem{

public int getMinContentHeight(){

return 40;//if you want you item has minimum 40px height.

}

//and you need to rewrite all of the 5 abstract methods.

public void paint(Graphics g,int w,int h){

//paint like a canvas

}

}

after this ,you can append a instance of this class into a form.

hoverleea at 2007-7-12 8:45:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5

I have used MMAPI and successfully add an animated gif on form and Canvas. It is working fine on WTK 2.5 Emulator.

But now the problem is that it is not working on Mobile. I have tried it on Nokia N91 and Sony Ericson 750i. but i both cases it does not worked.

Can any one tell me why?

Atiqea at 2007-7-12 8:45:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...