We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Launcher notification API [answered]

asked 2014-06-26 16:42:22 +0300

smoku gravatar image

updated 2014-07-25 14:01:09 +0300

jiit gravatar image

How can I display that thin, blue line notification on top of screen using C++/Qt code?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by nthn
close date 2014-08-06 13:35:39.431863

3 Answers

Sort by » oldest newest most voted
2

answered 2014-08-06 10:50:13 +0300

coderus gravatar image

updated 2014-08-06 10:50:48 +0300

using MNotification from mlite5 api (like this: https://github.com/CODeRUS/mitakuuluu2/blob/master/server/src/client.cpp#L2770) or https://github.com/nemomobile/nemo-qml-plugin-notifications

edit flag offensive delete publish link more
1

answered 2014-08-06 12:18:08 +0300

smoku gravatar image

updated 2014-08-06 12:19:07 +0300

Answering my own question, as I found out how to do this in the mean time.

You need to use MNotification class from mlite5 library. https://github.com/nemomobile/mlite/blob/master/src/mnotification.h#L188

Example of my use is at: https://github.com/smokku/pebble/blob/master/daemon/manager.cpp#L95

edit flag offensive delete publish link more
0

answered 2014-06-26 19:52:07 +0300

dr_gogeta86 gravatar image

Look at Mitakuulu source code ....

https://github.com/CODeRUS/mitakuuluu/blob/71b659c5dcc7121fb108410e75018238a8442316/persecute2/qml/main.qml

notifyMessages

edit flag offensive delete publish link more

Question tools

Follow
3 followers

Stats

Asked: 2014-06-26 16:42:22 +0300

Seen: 391 times

Last updated: Aug 06 '14