[maemo-developers] Fremantle: Opening URLs and local files
From: Cornelius Hald hald at icandy.deDate: Tue Oct 6 20:37:51 EEST 2009
- Previous message: Maemo 5 Final SDK + gitorious
- Next message: Fremantle: Opening URLs and local files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2009-09-17 at 13:45 +0300, Claudio Saavedra wrote: > El jue, 17-09-2009 a las 12:15 +0200, Thomas Perl escribió: > > Hello! > > > > What is the canonical way of opening a browser and the media player > > (or more general: opening a URL and opening a local file) from code > > on Fremantle? > > gtk_show_uri() should work in theory, but I don't know if it does in > practice. Just for the record: It's not working very well ;) If you use gtk_show_uri() with something like this: "http://zwong.de" you get an error that the process "epiphany" could not be executed. For "mailto:nothing at icandy.de" you get an error that the process "evolution" could not be executed and so on... I was looking for a method which will work on http, ftp, mailto and file URIs, but it looks like there is nothing ready made. So I now check the protocol and do whatever DBus call is appropriate. Cheers! Conny
- Previous message: Maemo 5 Final SDK + gitorious
- Next message: Fremantle: Opening URLs and local files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]