View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1103
Originally Posted by slarti View Post
Had a little time to test the alarm action. Seems to work ok except for the obvious snooze problem. I don't know how c++ works but in the simple-client source code, snooze is set with event.setSnooze. I suppose it's not that simple?
Actually it was that simple... I didn't even consider that as the interface made no sense at all. SetSnooze can be called if you want to add custom buttons - but of course no custom buttons were needed, I had the default buttons there. Furthermore, me calling addButton and setSnooze on it didn't actually add any buttons. But it did alter the snooze behaviour.

So now all is well and good. I have updated the beta version.

Is it at all possible to set the 'application' value as 'clock' so maybe the alarm(s) would show in the stock application? I mainly ask because it's now (almost) impossible to for example cancel a set alarm.
I put into the new beta the application as clock. It shows in the stock application. Unfortunately it shows always 00:00 as time. And trying to disable the alarm has no effect at all. I do not know how that could be fixed, so I'm leaning on it being better not shown at all in the stock application if it can't be controlled...

I also got a call when testing this and had some peculiar behaviour when the alarm was supposed to go off while the call was active. The alarm went off only when I brought the ProfileMatic UI to the front.
That is weird... and I can only guess that me setting application as ProfileMatic in that beta could somehow affect that. I have not experienced such problems, but I have not also had an alarm during phone call. Let me know if you find out more.

I'll test some more tomorrow once I'm sober enough... Have a good weekend!
Good weekend also... listening to alarms is a good way to shake the last remaining bits of hangover :P.
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post: