<br><br><div><span class="gmail_quote">2007/3/23, Laszlo T. <<a href="mailto:tlacix@gmail.com">tlacix@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>2007/3/23, Mika Yrjölä <<a href="mailto:exploderi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">exploderi@gmail.com</a>>:<div><span class="e" id="q_1117fe5bca189afc_1"><br>
> On 3/23/07, Laszlo T. <<a href="mailto:tlacix@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tlacix@gmail.com</a>> wrote:<br>> > Hello,<br>
> ><br>> > Here is an example of using libosso:<br>> > <a href="https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?rev=4852&view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?rev=4852&view=markup
</a><br>> ><br>> > What's the equivalent dbus-send command for osso_rpc_run in this example?<br>> ><br>> > It does not send message:<br>> > run-standalone.sh dbus-send --dest=org.maemo.example_libosso
<br>> > /org/maemo/example_libosso<br>> > org.maemo.example_libosso.HelloWorld<br><br> <br>> Hi, have you made a .service file for the application and put it under<br>> /usr/share/dbus-1/services/ ? At a quick glance your command looks OK.
<br>> <br>> (adding --print-reply to the dbus-send options might also give you<br>> additional information about why the launch fails)<br>> <br><br><br></span></div>Hello,<br><br>Thanks your answer!<br><br>Yes, I've made a .service file with this:
<br><a href="https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/install_example_libosso.sh?view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/install_example_libosso.sh?view=markup
</a><br><br>The message sender works with: (example_message.c)<br><a href="https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?view=markup
</a><br><br>The example_libosso.c<br><a href="https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_libosso.c?rev=4852&view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_libosso.c?rev=4852&view=markup
</a><br>gives the "HelloWorld" from example_message.c, but my dbus-send does not work. It runs the example_libosso, but not send message.<br><br>I tried with --print-reply:<br>run-standalone.sh dbus-send --print-reply --dest=
org.maemo.example_libosso /org/maemo/example_libosso org.maemo.example_libosso.HelloWorld<br><br>output:<br>method return sender=:1.56 -> dest=:1.55<br><br>Laci<br><br>
</blockquote></div><br><br>sorry<br><br>It works with --print-reply but without not work. Why?<br><br>