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.
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?