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
Developer
Posts: 1,632
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido
Accepted Solution

RealtimeClockListener

i'm trying to get my app to listen to the clock or time change and i do not need to be notified every minute.  is there another way to tell when the user changes the system datetime?

 

From the Doc

 

RealtimeClockListener

 

Invoked when the date and time is updated.

Note that the system actually invokes this method each minute.

 

 

BlackBerry Development Advisor
Posts: 15,752
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: RealtimeClockListener

Yes, a global event is fired when a user changes the date.  Please see the following link for details.

 

What Is - System Global Events
Article Number: DB-00469

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 1,632
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: RealtimeClockListener

thanks