We have moved to a new Sailfish OS Forum. Please start new discussions there.
23

Possibility to add a URL handler for an (android) app

asked 2015-03-22 11:02:38 +0300

lakutalo gravatar image

updated 2016-08-17 11:27:57 +0300

jiit gravatar image

I need a URL handler for an android app to work properly. A URL handler is used to register an application to be started directly from a browser, like app://parameters.

To achieve this in general, *.desktop files in /usr/share/applications have to be edited or created. By now I have not found any documentation on how to set up those files in a correct way without jeopardising consistency of the system, though.

Does anyone know about comprehensive documentation on this issue?

As a feature request, I would like to have an interface to add and edit URL handlers and *.desktop definitions, best would be a GUI. This way you could also change your default browser easily.

Documentation on .desktop definitions can be found here: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s10.html (thanks to @r0kk3rz)

edit retag flag offensive close delete

Comments

webcat and webpirate can set themself as defaultbrowser. you could check there. i use webpirate as default.

pawel ( 2015-11-01 21:28:43 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-03-23 16:24:12 +0300

Jolly-Jo gravatar image

+1 from me. Until we get some GUI, you might want to do it the hard way and get acquainted with this topic. If you chose to enable adb, you might also want take a look at how to add some iptables rules to block everyone from getting adb access to your phone. It definitely is a hard road, but I managed to change my default browser to Opera :-)

edit flag offensive delete publish link more

Thanks for the thread +1 back. It's helping to understand a couple of relations and constraints here. Also have a look at this. When I have gathered enough information on that topic we could start a deep-dive wiki! What I do not understand is, this isn't that completely new. So there should be at least something to be found. (I wouldn't mind reverse engineering either if I got some sources.)

lakutalo ( 2015-03-23 16:43:08 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2015-03-22 11:02:38 +0300

Seen: 938 times

Last updated: Oct 30 '15