[maemo-developers] dbus-send

From: Laszlo T. tlacix at gmail.com
Date: Fri Mar 23 20:06:55 EET 2007
2007/3/23, Laszlo T. <tlacix at gmail.com>:
>
>
>
> 2007/3/23, Mika Yrjölä <exploderi at gmail.com>:
> > On 3/23/07, Laszlo T. <tlacix at gmail.com> wrote:
> > > Hello,
> > >
> > > Here is an example of using libosso:
> > > https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?rev=4852&view=markup
>
> > >
> > > What's the equivalent dbus-send command for osso_rpc_run in this
> example?
> > >
> > > It does not send message:
> > > run-standalone.sh dbus-send --dest=org.maemo.example_libosso
> > > /org/maemo/example_libosso
> > > org.maemo.example_libosso.HelloWorld
>
>
> > Hi, have you made a .service file for the application and put it under
> > /usr/share/dbus-1/services/ ? At a quick glance your command looks OK.
> >
> > (adding --print-reply to the dbus-send options might also give you
> > additional information about why the launch fails)
> >
>
>
> Hello,
>
> Thanks your answer!
>
> Yes, I've made a .service file with this:
> https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/install_example_libosso.sh?view=markup
>
>
> The message sender works with: (example_message.c)
> https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?view=markup
>
>
> The example_libosso.c
> https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_libosso.c?rev=4852&view=markup
>
> gives the "HelloWorld" from example_message.c, but my dbus-send does not
> work. It runs the example_libosso, but not send message.
>
> I tried with --print-reply:
> run-standalone.sh dbus-send --print-reply --dest=
> org.maemo.example_libosso /org/maemo/example_libosso
> org.maemo.example_libosso.HelloWorld
>
> output:
> method return sender=:1.56 -> dest=:1.55
>
> Laci
>
>

sorry

It works with --print-reply but without not work. Why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070323/711362f6/attachment.htm 
More information about the maemo-developers mailing list