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.

Thanks,
Matt

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

Hi

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?

Bye
Georg



[1] 
https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-org-nemomobile-notifications-notification.html/<redir.aspx?REF=xPC2bRID0CJLK4jD2zdM6t39b3wsbjqw1zRAQraZtJvzkrsj4FjTCAFodHRwczovL3NhaWxmaXNob3Mub3JnL2RldmVsb3AvZG9jcy9uZW1vLXFtbC1wbHVnaW4tbm90aWZpY2F0aW9ucy9xbWwtb3JnLW5lbW9tb2JpbGUtbm90aWZpY2F0aW9ucy1ub3RpZmljYXRpb24uaHRtbC8.>
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to