[maemo-developers] passing arguments to hildon applications
From: Andrew Daviel advax at triumf.caDate: Mon Jul 21 11:40:02 EEST 2008
- Previous message: Eclipse debugging on N810 - was Re: How to fire up gps daemon from command line - wanna build GPS app on N810
- Next message: How to set common toolbar to all Hildon Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 24 Jun 2008, Andrew Daviel wrote: > I.e. how to hildonize some app so it will work from the file manager or > the browser, or make a wrapper that accepts a DBUS request to open a > URL/file and does e.g. system("mplayer blah.wmv"). Someone told me about dbus-switchboard which does what I want: http://wardenclyffetower.com/MaemoFiles/utils/dbus-switchboard-1.2.0.all.deb http://www.internettablettalk.com/forums/showthread.php?p=173560 But now I have a problem which seems a bit like the authentication problem you mentioned. If I place a WAV file on a server e.g. http://example.com/foo/bar.wav, and click a link to it in the browser, and click "open with media-player", the browser does a GET with Range: 0- and gets a partial result. This appears to be discarded and gnome-vfs then does a full GET on the URL and the sound plays. But if I try to play a message from my voicemail system, gnome-vfs gets the wrong URL and media player says "media stream not found at given address" GET /mycallpilot/open.asp?f_MsgNum=10&f_Format=WAV HTTP/1.1 User-Agent: Mozilla/5.0 (X11; U; Linux armv6l; en-GB; rv:1.9a6pre) Gecko/20080606 Firefox/3.0a1 Tablet browser 0.3.7 RX-34+RX-44+RX-48_DIABLO_4.2008.23-14 .. HTTP/1.1 200 OK Date: Mon, 21 Jul 2008 07:13:57 GMT Server: Microsoft-IIS/4.0 Content-Disposition: attachment; filename=message.wav Content-Length: 443438 Content-Type: audio/wav then GET /mycallpilot/message.wav HTTP/1.1 User-Agent: gnome-vfs/2.16.3 neon/0.25.4 TE: trailers icy-metadata:1 HTTP/1.1 404 Object Not Found Perhaps it is confused by the Content-Disposition header -- Andrew Daviel, TRIUMF, Canada
- Previous message: Eclipse debugging on N810 - was Re: How to fire up gps daemon from command line - wanna build GPS app on N810
- Next message: How to set common toolbar to all Hildon Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]