Thread
: [SailfishOS]
[Announce] Pebble Watch Connector daemon
View Single Post
javispedro
2015-03-30 , 13:10
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#
313
I was trying to figure out why we can't eavesdrop on D-Bus reply messages, which contain the notification ID and are required if we want to be able to dismiss notifications and/or detect if they're externally dismissed.
Turns out, it's a QtDbus problem, and you can eavesdrop those if you use the "raw" libdbus. Unfortunately this means a lot of boilerplate code to setup e.g. mainloop integration, etc. :
notificationmonitor.cpp
.
I guess I should put that into a library so that all smartwatch programs can benefit. It will be useful to implement the new actionable notifications supported by the new Pebble firmwares.
Quote & Reply
|
The Following 7 Users Say Thank You to javispedro For This Useful Post:
Amboss
,
Bundyo
,
Fuzzillogic
,
HtheB
,
j4mppa
,
P@t
,
smoku
javispedro
View Public Profile
Send a private message to javispedro
Visit javispedro's homepage!
Find all posts by javispedro