[SailfishDevel] LED Notification

Matthew Vogt matthew.vogt at jolla.com
Wed Mar 30 21:20:41 UTC 2016

Hi Georg.

There's three ways to emit notifications: via D-Bus, using the QML binding, and using the C++ library underlying the QML library.  The last one is in the nemonotifications-qt5 library, the interface is described here: https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/libnemonotifications-notification.html/

You can see an example of the C++ library version in use here: https://git.merproject.org/mer-core/fingerterm/blob/master/util.cpp#L235

If you need more assistance, please indicate which interface you're using and describe the problem you're having.


From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of george b [scooterschorschi at gmail.com]
Sent: Thursday, March 31, 2016 5:08 AM
To: Sailfish
Subject: [SailfishDevel] LED Notification


I am working on a port of the textsecure App from the Ubuntu Phone.
Basic Text messaging is working between my jolla and an android phones Signal App.

Now I want to implement notifications on new incoming messages. I can't figure out how to do this. I read something about the use of D-Bus for this. There is also a qml binding [1]. The example only leads to a simple text on the messages screen. No real Notification is triggered.

Can someone point me in the right direction on this issue?


[1] https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-org-nemomobile-notifications-notification.html/<redir.aspx?REF=xPC2bRID0CJLK4jD2zdM6t39b3wsbjqw1zRAQraZtJvzkrsj4FjTCAFodHRwczovL3NhaWxmaXNob3Mub3JnL2RldmVsb3AvZG9jcy9uZW1vLXFtbC1wbHVnaW4tbm90aWZpY2F0aW9ucy9xbWwtb3JnLW5lbW9tb2JpbGUtbm90aWZpY2F0aW9ucy1ub3RpZmljYXRpb24uaHRtbC8.>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20160330/84b52e27/attachment-0001.html>

More information about the Devel mailing list