View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#1104
Originally Posted by ajalkane View Post
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 think this is fixable. You just need a few more attributes set for the event to make sense to the clock application.

Here are the attributes from an event set by PM:

Code:
QMap(("APPLICATION", QVariant(QString, "clock") ) ( "COOKIE" ,  QVariant(QString, "25124") ) ( "PLUGIN", QVariant(QString, "libclockalarm") ) ( "STATE" ,  QVariant(QString, "QUEUED") ) ( "TITLE" ,  QVariant(QString, "Guuu") ) )
And here is a 'normal' alarm:

Code:
QMap(("APPLICATION", QVariant(QString, "clock") ) ( "COOKIE" ,  QVariant(QString, "25125") ) ( "PLUGIN" ,  QVariant(QString, "libclockalarm") ) ( "STATE" ,  QVariant(QString, "QUEUED") ) ( "TITLE" ,  QVariant(QString, "Test") ) ( "alarmtime" ,  QVariant(QString, "07:30") ) ( "enabled" ,  QVariant(QString, "1") ) ( "snooze" ,  QVariant(QString, "10") ) ( "sound" ,  QVariant(QString, "/usr/share/sounds/ring-tones/Clock 2.mp3") ) ( "trigger" ,  QVariant(QString, "1361079000") )
So you're missing "alarmtime", "enabled", "snooze", "sound" and "trigger"

It is possible to delete the event from the clock application even in this version.

Originally Posted by ajalkane View Post
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.
It doesn't behave oddly with this version. At least not in the two calls I tried.

Originally Posted by ajalkane View Post
Good weekend also... listening to alarms is a good way to shake the last remaining bits of hangover :P.
Nothing compared to the shrieking kids who think it's funny to see daddy being a bit nauseous...
 

The Following User Says Thank You to slarti For This Useful Post: