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

Native Development

Reply
Developer
Posts: 44
Registered: ‎02-11-2013
My Device: Z10
My Carrier: TELE2

Time notifications

Hi all, is it possible to get system notification that current time has changed?

I'm developing headless application and I need to check current time, therefore my app won't work if the current time will change. Of course I can check current time each minute to monitor current time changes, but it is not a good way for power consumption.

And one more question, is it possible to subscribe for specific time notification, I mean instead of using QTimer?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Time notifications

No, time-based triggers are supposed to be on their way but it's not been announced when they will appear.

 

The best you can do at the moment is to run a long-running headless app or set up calendar events (bit rubbish this option).


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.