Reply
Thread Tools Search this Thread
EmaNymton's Avatar
Posts: 115 | Thanked: 143 times | Joined on May 2010 @ Germany
#1
Hi,
I was wondering if it's possible to show a popup message like the InfoBanner in QML via dbus because a friend of mine (programming in python) needed this for a daemon, so no QML available.
MeegoTouch is not available in PySide-Packages so dbus was my last hope. I figured out that
Code:
dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:'device' string:'' string:'My message' string:'' string:'icon-m-toolbar-done' uint32:0
does what I want. The first string (string:'device') uses the EventType of http://harmattan-dev.nokia.com/docs/....html#_details, I think, the last one defines the used icon.

May be someone could use this, so I thought it is worth to share.

If there's a better way to show a popup banner with python, please let me know.
Attached Images
 

Last edited by EmaNymton; 05-31-2012 at 12:22 PM.
 

The Following 11 Users Say Thank You to EmaNymton For This Useful Post:
CepiPerez's Avatar
Posts: 790 | Thanked: 3,201 times | Joined on Feb 2010 @ Argentina
#2
You have InfoBanner in QML
If you are building a Pythom-QML app you can pass the signal from to QML.
__________________
Filebox for Maemo / Harmattan
FlowPlayer for Maemo / Harmattan
CallBlocker for Harmattan
Last.fm Radio for Harmattan

Support my work by donating
 

The Following User Says Thank You to CepiPerez For This Useful Post:
EmaNymton's Avatar
Posts: 115 | Thanked: 143 times | Joined on May 2010 @ Germany
#3
I know, but
...needed this for a daemon, so no QML available.
 
Posts: 243 | Thanked: 278 times | Joined on Jan 2010
#4
Almost on topic: Does anyone know if there is a list of dbus-commands for Harmattan like there is for Fremantle and earlier here? (Setting profiles works in the same way)
 
nieldk's Avatar
Posts: 291 | Thanked: 333 times | Joined on Nov 2010
#5
Originally Posted by slarti View Post
Almost on topic: Does anyone know if there is a list of dbus-commands for Harmattan like there is for Fremantle and earlier here? (Setting profiles works in the same way)
use qdbus to query

http://iktwo.com/n9-dbus-services-pr1-2/
 

The Following User Says Thank You to nieldk For This Useful Post:
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 09:25 PM.