Am Freitag 12 Februar 2010 07:24:24 schrieb Petr Vanek:
> > PV> i would like to be able to send a sms message from another
> > PV> python based application by using the standard SHR message
> > PV> interface. What is the recommended way? running phoneui-messages
> > PV> with any parameters doesn't invoke the create message window.
> >
> > i had tried the org.shr.phoneui.Messages /org/shr/phoneui/Messages
> > org.shr.phoneui.Messages.CreateMessage
> >
> > but no luck with parameters,
CreateMessage expects a parameter of type a{sv} which unfortunately you cannot
supply from commandline (neither mdbus nor dbus-send support that... don't
know about mdbus2).
Btw. in between the bus name for phoneuid changed to be org.shr.phoneui for
all parts of it. The rest (path and interface) is the same.
>
> What did you try? and what version of phoneuid are you using? (we changed
> the API a bit).
>
> Let me know, sorry for the delay.
>
> Tom, thank you for the reply, I had also tried asking on irc but perhaps at
> a wrong time so no answer and I was getting quite frustrated from that.
>
> I am on latestly updated unstable but what I cannot get hold of is what
> should I pass to the dbus call as parameters. I don't want to use plain
> fso as I would like to present the user with a standard shr interface,
> rather then recreating the wheel again (especially when it was designated
> with this in mind (IMU)).
surely it should just work :-)
>
> Much appreciated,
> Petr
--
Klaus 'mrmoku' Kurzmann
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user