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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

Implementing an animation effect for the header

Hi

I have a requirement to print different options of an application in the lens of the camera To select the next option when user swipes to the left or rigt the effect of rotating should be shown. 

Is this kind of effect possible in Blackberry. I am attaching the image of the camera part with some text written using paint(Sorry its horrible). Please suggest a way to achieve this.Camer.JPG

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

Re: Implementing an animation effect for the header

I don't think I can help, but can we clarify the requirement here.

 

I presume the image we are looking at is the top view of a carrier lens.  You wish to 'pretend' that you writing is on that lens, and then allow the user to rotate the lens to chose various options.

 

If I am correct this is doubly difficult because you need to simulate the 'compression' of the text as it rotates down the lens and then remove it completely when it would be hidden underneath the lens.

 

Is this what you are trying to achieve?

Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

Re: Implementing an animation effect for the header

Yes Peter,

 

The requirement is to give that rotation effect to the text. Is such thing possible in Blackberry ?

Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

Re: Implementing an animation effect for the header

Can I use a gif image to achieve the rotation animation ???
Developer
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: Implementing an animation effect for the header

If you have an animated GIF, you can use that for animation effect - see the following article:

Display an animated GIF

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Implementing an animation effect for the header

And just to answer the question, there is nothing in standard BB Java that will allow you to specify text that gets 'rotated' in this way.  There might be something in the vector graphics packages, but I'm not familiar with these.