Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Running application or method at specified time

1 replies · 1,817 views · Started 04 August 2003

Hi,

I'd like to write a program that will start a method in application at specified times (10.00, 10.01 etc) eg. enhanced alarm application where you can set many alarms.
Could you write how to do that?
I don't want to make my application running all the time and checking time every second ( batery! ) Are there any methods that will not consume battery a lot (maybe active object?)?
Is there a server of time or sth like that, where I can register my application to run a method at specified time or I have to write my own server?
Can you post an example code?

thanks in advance,
jack

Your app does not have to check every second. You can use the RTimer::At function to wake up your app at a specific time.