<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Georg.<br>
<br>
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:
<a href="https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/libnemonotifications-notification.html/" target="_blank">
https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/libnemonotifications-notification.html/</a><br>
<br>
You can see an example of the C++ library version in use here: <a href="https://git.merproject.org/mer-core/fingerterm/blob/master/util.cpp#L235" target="_blank">
https://git.merproject.org/mer-core/fingerterm/blob/master/util.cpp#L235</a><br>
<br>
If you need more assistance, please indicate which interface you're using and describe the problem you're having.<br>
<br>
Thanks,<br>
Matt<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF56880"><font color="#000000" face="Tahoma" size="2"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of george b [scooterschorschi@gmail.com]<br>
<b>Sent:</b> Thursday, March 31, 2016 5:08 AM<br>
<b>To:</b> Sailfish<br>
<b>Subject:</b> [SailfishDevel] LED Notification<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi<br>
<br>
</div>
I am working on a port of the textsecure App from the Ubuntu Phone.<br>
</div>
Basic Text messaging is working between my jolla and an android phones Signal App.<br>
<br>
</div>
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.<br>
<br>
</div>
Can someone point me in the right direction on this issue?<br>
<br>
</div>
Bye<br>
</div>
Georg<br>
<div>
<div>
<div><br>
<br>
<br>
[1] <a href="redir.aspx?REF=xPC2bRID0CJLK4jD2zdM6t39b3wsbjqw1zRAQraZtJvzkrsj4FjTCAFodHRwczovL3NhaWxmaXNob3Mub3JnL2RldmVsb3AvZG9jcy9uZW1vLXFtbC1wbHVnaW4tbm90aWZpY2F0aW9ucy9xbWwtb3JnLW5lbW9tb2JpbGUtbm90aWZpY2F0aW9ucy1ub3RpZmljYXRpb24uaHRtbC8." target="_blank">
https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-org-nemomobile-notifications-notification.html/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>