On Fri, 28 Dec 2007, Tuomas Kulve wrote:
> Not sure about dbus call, but check hildon_mime_open_file() in
> /usr/include/hildon-mime.h.
>
> At least it's trivial to make a simple executable opening a file with that.
Tuomas,
I tried the two small programs that you wrote hildon-mime-summon and
hildon-mime-summon2 to launch apps by mime type.
hildon-mime-summon file:///home/user/PetitPrince.jpg
hildon-mime-summon image/jpeg file:///home/user/PetitPrince.jpg
Both launch the Image Viewer allright... but this *first* invocation does
not display my image -- rather it displays the images in the default
folder IMAGES.
With the Image Viewer already launched, repeating the above commands *do*
finally display my images. Is the problem that Image Viewer is hard-wired
to launch with the images in the IMAGES folder?
-- Denis
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers