I just realized that you can use the URL concept for MIME types to: mime://image/png&file://path/to/file.png or something like that would work well.
>Sure and in the works Great! 2013/7/18 Thomas Voß <thomas.v...@canonical.com> > On Thu, Jul 18, 2013 at 8:28 PM, Michał Sawicz > <michal.saw...@canonical.com> wrote: > > W dniu 18.07.2013 20:20, Thomas Voß pisze: > >> My last status on this is that we are going to have a URL handler > >> binary that apps can register with, much like for example on iOS. With > >> that, Jamie's web-browser example is easily solvable, and so are more > >> sophisticated use-cases like gallery://albums/birthday/cake.png. Not > >> sure if it's DBus or not, but I'm very much in favor of doing URL > >> handling as opposed to mime-type handling. > > > > Problem is when you start dealing with remote content - at that point > > you need mime-type as well, or you can go for: > > > > gallery+http://host/path.png > > > > What if you don't know/care what kind of app should handle, say, a > > downloaded PDF file? > > > > Good point and I do agree in general, However, once we allow mime-type > handling we break the strict per-app siloing of content. > > Not sure how to solve that issue for mime-type handling. > > Thomas > > > I basically think we need to be able to handle both URI and MIME, > > depending on the use case. > > > > -- > > Michał (Saviq) Sawicz <michal.saw...@canonical.com> > > Canonical Services Ltd. > > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > -- Rasmus Eneman
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp