[maemo-developers] Dbus call to launch Image-Viewer?
From: Denis DeLaRoca delaroca at mminternet.comDate: Thu Jan 3 13:50:49 EET 2008
- Previous message: ANNOUNCE: Internet Communications Software Update 2 for N800/N810
- Next message: Dbus call to launch Image-Viewer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: ANNOUNCE: Internet Communications Software Update 2 for N800/N810
- Next message: Dbus call to launch Image-Viewer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]