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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Contributor
JohannaBarreto
Posts: 3
Registered: ‎10-01-2012
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

Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
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.

Please use plain text.
Developer
simon_hain
Posts: 13,775
Registered: ‎07-29-2008
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
Please use plain text.