[maemo-developers] D-BUS service name confusion
From: Axel Sommerfeldt axel.sommerfeldt at arcor.deDate: Wed May 28 13:15:59 EEST 2008
- Previous message: Valgrinding Home applet in Chinook
- Next message: D-BUS service name confusion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In the Maemo 4.0 Tutorial, section "Integrating Applications to maemo Framework", there is an example desktop file with the line: X-Osso-Service=org.maemo.example_libosso But when I take a look at the examples provided by Nokia, only the application name is stated here, for example: X-Osso-Service=maemopad But which one is correct, the "long" term (found in the Tutorial) or the "short" term (found in the maemopad example)? Which confuses me even more is a statement found in the documentation of osso_initialize(): [1] "Note that the D-BUS service name will be 'com.nokia.application', where 'application' is the value you gave as the parameter." So a DBUS service name have to be "com.nokia.<your-application-name-here>"? Furthermore one can found there: "Note also that this argument must be identical to the X-Osso-Service value in the desktop file, or the D-BUS daemon will kill your application." Mixing all of this together, I come to the conclusion that the "short" X-Osso-Service line is correct (because the argument of osso_initialize() must be identical to this value) and using a DBUS service name like "org.maemo.example_libosso" is wrong, because it must be "com.nokia.example_libosso" instead. Is this correct? At least the Tutorial is inconsistent to the example and to the documentation of osso_initialize(). But what information is correct and what is wrong? [1] http://maemo.org/api_refs/4.0/libosso/index.html
- Previous message: Valgrinding Home applet in Chinook
- Next message: D-BUS service name confusion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]