I can confirm Eero statement: in grsync I use it.opbyte.grsync both for X-Osso-Service and for osso_initialize() and it works.<br><br>Luca Donaggio<br><br><br><br><div class="gmail_quote">On Wed, May 28, 2008 at 1:34 PM, Eero Tamminen <<a href="mailto:eero.tamminen@nokia.com">eero.tamminen@nokia.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><div></div><div class="Wj3C7c"><br>
ext Axel Sommerfeldt wrote:<br>
> In the Maemo 4.0 Tutorial, section "Integrating Applications to maemo<br>
> Framework", there is an example desktop file with the line:<br>
><br>
> X-Osso-Service=org.maemo.example_libosso<br>
><br>
> But when I take a look at the examples provided by Nokia, only the<br>
> application name is stated here, for example:<br>
><br>
> X-Osso-Service=maemopad<br>
><br>
> But which one is correct, the "long" term (found in the Tutorial) or the<br>
> "short" term (found in the maemopad example)?<br>
><br>
> Which confuses me even more is a statement found in the documentation of<br>
> osso_initialize(): [1]<br>
><br>
> "Note that the D-BUS service name will be 'com.nokia.application', where<br>
> 'application' is the value you gave as the parameter."<br>
><br>
> So a DBUS service name have to be "com.nokia.<your-application-name-here>"?<br>
><br>
> Furthermore one can found there:<br>
><br>
> "Note also that this argument must be identical to the X-Osso-Service<br>
> value in the desktop file, or the D-BUS daemon will kill your application."<br>
><br>
> Mixing all of this together, I come to the conclusion that the "short"<br>
> X-Osso-Service line is correct (because the argument of<br>
> osso_initialize() must be identical to this value) and using a DBUS<br>
> service name like "org.maemo.example_libosso" is wrong, because it must<br>
> be "com.nokia.example_libosso" instead. Is this correct?<br>
><br>
> At least the Tutorial is inconsistent to the example and to the<br>
> documentation of osso_initialize(). But what information is correct and<br>
> what is wrong?<br>
><br>
> [1] <a href="http://maemo.org/api_refs/4.0/libosso/index.html" target="_blank">http://maemo.org/api_refs/4.0/libosso/index.html</a><br>
<br>
</div></div>Please file a bug against documentation to <a href="http://bugs.maemo.org" target="_blank">bugs.maemo.org</a><br>
with the above details.<br>
<br>
AFAIK com.nokia. is automatically prepended to service names<br>
that contain only one path element (no dots). I think it<br>
would be better to use a long name as "com.nokia." is not<br>
appropriate service prefix for 3rd party software.<br>
<font color="#888888"><br>
<br>
- Eero<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>