2007/8/15, Zhu, Peter J <[EMAIL PROTECTED]>:
> Hi Eero,
>
> I figured out. If for lauching, no need to call osso_init() in
> application. Just adding X-Osso-Service and create a correct dbus
> service file with Name being com.nokia.entry_of_X-Osso-Service is
> enough.

It's not. If you don't call osso_init() or otherwise request the
service name, D-Bus will assume your application didn't manage to
start up properly and kills the process (after some timeout, IIRC this
was about 10s at some point).

> But, I'm not sure what you mean "callbacks if you are handling file open
> messages". can you explain more?

If you want other apps to be able to open files into your app, you'll
need to provide a D-Bus interface with a method to which the other app
can give the file name as a parameter. This is used for the mime-type
autolaunch for example.

-- 
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to