[maemo-developers] Launching Application over D-Bus

From: Pavel Rojtberg lists at madman2k.net
Date: Wed Jul 2 19:16:20 EEST 2008
Eero Tamminen wrote:
> Hi,
>
> ext Pavel Rojtberg wrote:
>> Im trying to launch my application with X-Osso-Service instead of
>> Exec, but I cant get it to work.
>> Although the application actually launches, it closes after several
>> seconds.
>>
>> Here is my desktop file:
>> https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/youamp.desktop?root=youamp&rev=25&view=markup
>>
>>
>> the service file:
>> https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/youamp.service?root=youamp&rev=24&view=markup
>>
>>
>> and the Context creation:
>> https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/youamp/controller.py?root=youamp&rev=71&view=markup
>>
>
> I guess D-BUS kills it because it doesn't register the service
> for which it was started for ("youamp" vs. "net.madman2k.youamp"?).

thanks that made it work - but someone should clean up the API 
documentation then:
http://maemo.org/development/documentation/apis/3-x/python-maemo-3.x/pyosso_context.html

which says: "The name of the application. This name forms the last part 
of the default (D-BUS) service name of the application."

Greets

Pavel


More information about the maemo-developers mailing list