2007/3/23, Mika Yrjölä <[EMAIL PROTECTED]>:
On 3/23/07, Laszlo T. <[EMAIL PROTECTED]> 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
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
