Questions tagged [uri-scheme]

A Uniform Resource Identifier (URI) scheme is the top level of the uniform resource identifier (URI) naming structure. URLs are a type of URI.

An app: URL is a that can be used by a packaged application to address resources within its container (e.g., a .zip file).

Examples

foo://username:password@example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose
  \_/   \_______________/ \_________/ \__/            \___/ \_/ \______________________/ \__/
   |           |               |       |                |    |            |                |
   |       userinfo         hostname  port              |    |          query          fragment
   |    \________________________________/\_____________|____|/ \__/        \__/
 scheme                 |                          |    |    |    |          |
  name              authority                      |    |    |    |          |
   |                                             path   |    |    interpretable as keys
 \_______________________________________/              |    |
   |                  |                                 |    |
   |                host                                |    |
   |    \_______________________________________________|____|/       \____/     \_____/
   |                         |                          |    |          |           |
 scheme              hierarchical part                  |    |    interpretable as values
  name                                                  |    |
   |            path               interpretable as filename |
   |   ___________|____________                              |
  / \ /                        \                             |
  urn:example:animal:ferret:nose               interpretable as extension

                path
         _________|________
 scheme /                  \
  name  userinfo  hostname       query
  _|__   ___|__   ____|____   _____|_____
 /    \ /      \ /         \ /           \
 mailto:username@example.com?subject=Topic

Further:

58 questions
50
votes
7 answers

Add Whatsapp function to website, like sms, tel

I have a website that a lot of people view on mobile. I have link for : Call and SMS and I want to add one for Whatsapp, so a user can click the whatsapp link I create and start a conversation with me. If this is possible can someone point me in the…
user3041174
  • 543
  • 1
  • 6
  • 10
41
votes
13 answers

Google 400 Error: invalid request Custom scheme URIs are not allowed for 'Web' client type

When I am signing into Gmail in my iOS App, I am getting the below error (screenshot) and the sign-in fields do not appear. We are loading the sign-in screen in a WKWebView. We are using a custom URI redirect but why is google throwing this error…
Poke
  • 471
  • 1
  • 4
  • 8
26
votes
1 answer

What is the Vagrant syntax for adding a locally existing VDI?

What is the syntax for adding a locally existing VirtualBox .vdi to vagrant? There doesn't appear to be an example of alternate URI schemes in the documentation. Can it also use ssh and httpauth locations?
vfclists
  • 19,193
  • 21
  • 73
  • 92
22
votes
7 answers

Support for other protocols in Android webview

I've created a web view app, the page that is displayed features market:// links but upon clicking them I get the 404 screen along with the error that the protocol is not supported. I've tried looking through documentation but was unable to find…
user319940
  • 3,267
  • 8
  • 38
  • 53
19
votes
1 answer

Install a service handler for URI scheme from webpage

When accessing Google Mail or Google Calendar from Chrome, small icon appears in addressbar allowing to install custom service handler for URI scheme (marked with red square in picture). Tooltip for icon is: This page wants to install a service…
rpeshkov
  • 4,877
  • 3
  • 27
  • 43
14
votes
4 answers

How do I link to wechat from a webpage?

Whatsapp allows you to link to a new message via
Rich
  • 5,603
  • 9
  • 39
  • 61
11
votes
1 answer

CustomTabs shows ERR_UNKNOWN_URL_SCHEME after 302 Redirect

I'm trying to implement OAuth2 login flow using Custom Tabs, but after login has been successful a 302 Redirect is retrieved with url as the following: "my.app:/oauth2/code?xxx". Now I have declared redirect URI in AndroidManifest to listen to this,…
Henric
  • 782
  • 1
  • 9
  • 23
10
votes
2 answers

What URI protocols exist on Windows Phone 8?

I have scoured the web for a complete list of URI protocols (XXX://) to open different apps in Windows Phone 8. I have found some lists but only with a very small amount of protocols. I am with this wiki-post hoping to make a complete list of…
6
votes
1 answer

Register an URL protocol / URI scheme to an application installed by Install4j?

We provide a cross-platform installer for one of our applications through Install4j. We would like to be able to register the installed application to an URL protocol. Can that be done with Install4j? A bit of background: our application is an XMPP…
Guus
  • 2,986
  • 2
  • 21
  • 32
5
votes
2 answers

Failure to launch Windows program via URI after adding to HKCU/Software/Classes

I'm trying to set up a test application on Windows to launch via a "myapp://website.com"-style URI. Mostly, I'm basing myself off of tutorials like this: http://msdn.microsoft.com/en-us/library/ie/aa767914(v=vs.85).aspx While I got the initial setup…
Katana314
  • 8,429
  • 2
  • 28
  • 36
4
votes
1 answer

URI scheme for time events

Is there any URI scheme or protocol for time events? For example, for location is the geo URI scheme, which will open Google Maps or any other map application in mobile devices. I want something similar, but for opening Google Calendar or any other…
Yerko Palma
  • 12,041
  • 5
  • 33
  • 57
4
votes
0 answers

Launch Windows phone 8.1 store application with deep link

I have integrated custom URI schemes in my windows phone 8.1 runtime app. I am able to add Extension in Package.appzmanifest and able to launch app by say alsdk://hello link when application is installed. But, When application is uninstalled or not…
4
votes
0 answers

URI scheme for twitter on Windows Phone

There is little information about the uri scheme for the native wp (8.1) twitter app so I took this from the iPhone documentation: http://wiki.akosma.com/IPhone_URL_Schemes#Twitter This is my C# code, both do not crash and open the twitter…
JP Hellemons
  • 5,977
  • 11
  • 63
  • 128
4
votes
0 answers

Trying to open an application with parameter via an Application Protocol Handler

I am currently trying to figure out an issue with an Application Protocol Handler I've created. Following the directions listed on MSDN (http://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx), I was able to register my application, PDF…
LNendza
  • 1,350
  • 1
  • 12
  • 21
3
votes
0 answers

How to avoid opening multiple instances of an app when registering a URI scheme on Windows?

I have registered a custom URI-Scheme for my Qt downloader app on Windows. The app works fine, and does exactly what I need it to do. The only problem is that each time I click on a new URL with the specified format, it opens a new instance of the…
m4rko
  • 31
  • 1
  • 6
1
2 3 4