On Tue, Aug 4, 2015 at 7:46 PM, Krzysztof Tataradziński
<ktatar156@xxxxxxxxx> wrote:
Hello,
while using web browser and click on link to Wikipedia website or
forum with
Tapatalk plugin, I expect that my action will open app dedicated
for that
action. For now, it's not working, still opening that links in web
browser.
Which site that problem stand for - third party app (that is not
developed
to work in that way) or browser app (that don't allow/can't do
that)?
Where should I report that bug?
In example new version of
https://uappexplorer.com/app/wikipedia.mattirn
supports for now opening wiki article from NearBy scope, but not
from
browser.
Hi Krzysztof,
As pointed out by Niklas, apps can register as handlers for custom URL
schemes. When a link is clicked in the browser which it doesn’t know
how to handle, it will be delegated to the URL dispatcher which will
select the corresponding app for handling it, if any. That works for
custom URL schemes, not for regular http:// or https:// URLs. Those
will always open in the browser.
Note that URL dispatcher knows how to handle intent:// URLs, and apps
can register as handlers for those by specifying the android package
name as domain-suffix, e.g.:
{
"protocol": "intent",
"domain-suffix": "com.google.android.apps.maps"
}
Documentation on URL dispatcher available here:
https://developer.ubuntu.com/en/start/platform/guides/url-dispatcher-guide/
I hope this helps,
Olivier
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp