View Single Post
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#117
shep:

you need those .desktop and .service files. mentioned in
the post above...

something like:

wwcalc.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=wwcalc
Exec=/usr/bin/wwcalc
Icon=wwcalc
X-Window-Icon=wwcalc
X-Window-Icon-Dimmed=wwcalc
X-Osso-Service=com.nokia.mad_developer
X-Osso-Type=application/x-executable

and wwcalc.service

[D-BUS Service]
Name=org.maemo.wwcalc
Exec=/usr/bin/wwcalc


then there is this 'osso_initialize()' stuff i continue with
when I wake up later this day ....

... see mad-developer-launcher.c in

http://repository.maemo.org/extras-d..._1.4.22.tar.gz

for example usage of osso_initialize()

And, use `pkg-config --cflags libosso` and `pkg-config --libs libosso`
in your Makefile to find out required header and library files

Last edited by too; 2010-01-16 at 04:19.
 

The Following User Says Thank You to too For This Useful Post: