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
New Contributor
Posts: 3
Registered: ‎10-01-2012
My Device: curve 8520
My Carrier: Movistar
Accepted Solution

PushRegistry pin

Hi,

 

I need to create an application that every 5 minutes send a pin if you have not sent a report to another application, but do not know how to reset the time if you send the report

Developer
Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900
My Carrier: MTN

Re: PushRegistry pin

If you are using a timer then you cannot reset the timer. You will have to create a new timer every time your report is sent.

Developer
Posts: 16,750
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: PushRegistry pin

welcome to the support forums.

you can cancel an existing timertask and schedule a new one, for example.
timer is the control class, i would not suggest to cancel the timer itself.
----------------------------------------------------------
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