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
Highlighted
Contributor
Posts: 36
Registered: ‎10-12-2012
My Device: developer
My Carrier: developer

how to create a countdowntimer..?

Want to create a countdown timer which can be forwarded and rewinded in blackberry
Developer
Posts: 16,750
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to create a countdowntimer..?

implementation would depend on what you want to display to the user.
take a look at http://www.blackberry.com/developers/docs/7.1.0api/java/util/TimerTask.html
i would use a timertask and a counter variable, most likely.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter