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: 37
Registered: ‎09-15-2009
My Device: Not Specified
Accepted Solution

BB spinner

 

Hi everybody.

 

Is it possible to draw standard BB spinner? How could I do this?

I tried to draw animated gif, but it doesn't work correct (no animation).

 

Thanks,

Maksym.

 

Developer
Posts: 26
Registered: ‎10-21-2009
My Device: Not Specified

Re: BB spinner

Check this thread

 

http://supportforums.blackberry.com/t5/Java-Development/gif-image/m-p/253635

 

 

animation is not supported by default.

here is a workaround that shows how to display an animated gif:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

 

 

 

Developer
Posts: 37
Registered: ‎09-15-2009
My Device: Not Specified

Re: BB spinner

Thank you

New Developer
Posts: 26
Registered: ‎08-10-2009
My Device: Bold, Curve

Re: BB spinner

So is not possible to invoke the "clock/spinner" that Blackberry has by default?

 

 I've seen a single "clock" animation when GC works, and I would like also to use it, instead of me drawing a gif and creating another thread in my app.

 

Thanks,

Franklin Garcia
Senior Software Java Developer
Schematic
Costa Rica
Highlighted
Developer
Posts: 587
Registered: ‎01-19-2010
My Device: BOLD 9700 OS5.0.0.x on Rogers Canada
My Carrier: Rogers

Re: BB spinner

You realize that the spinner itself is likely just that -- an animated gif on a separate Thread. It's just created in very sepcific cases. I don't believe there's an API which allows you directly invoke it.

----------------------------------------------------------------------------
chown -R us ./base
~J!NX