Welcome!

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

Reply
Developer
Posts: 84
Registered: ‎07-22-2011
My Device: bb-9550,bb-9700
My Carrier: bb developer

3D Animation of a button

Hi All,

 

Can anyone help me with some sample source code to do the 3d animation of a button.

 

i have referred to the link

http://docs.blackberry.com/en/developers/deliverables/17967/CS_Drawing_a_cube_1237364_11.jsp

but iam unable to run it.

 

 

Thanks.

Highlighted
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: 3D Animation of a button

AFAIK, you can't mix Open GL and normal BB processing, so you will not be able to use that approach to animate your Button.  You only option, as far as I know anyway, is to animate it yourself using something like this:

 

http://supportforums.blackberry.com/t5/Java-Development/Display-an-animated-GIF/ta-p/445014