Counting alarms the new way
| Fri, 2006-03-24 19:41 | |
|
Hello, I'd need to get the number of pending alarms. RAlarmServer works all right but the documentation says it's deprecated. So, I thought I would play it nice and tried the new way: Code: static const TUid KUidNull = {0}; RASCliSession Alarm; Alarm.Connect (); if (Alarm.GetAlarmCountForCategory (KASCliCategoryClock) > 0) {  ...  } Alarm.Close (); No error but it doesn't work. Am I doing something wrong? Thanks,  Gábor Bye, |
|






Forum posts: 112
So is there a reliable method to query the number of pending clock alarms?
Bye,
Gábor