nacho4d
nacho4d

Reputation: 45078

Open native app from browser (not mobile)

I would like to open a native app from my webapp is this possible? I image something some html like this or maybe some JS?:

<a href="my-app://open/my/app">Open My-App</a>

In Mobile browsers there is something called deep linking so it is possible there. But, how about PC browsers? Is this possible in IE11?

Google keeps showing me mobile approaches which I am not interested in now :(

Upvotes: 1

Views: 4401

Answers (1)

Euan Smith
Euan Smith

Reputation: 2192

For this to work applications need to have registerred themselves as handlers for a URI scheme. A common example is an email application being registerred to handle 'mailto:' URIs. An MSDN reference about registerring applications can be found here.

There is no way for a webapp to open an arbitrary application. This would represent a massive security hole.

Upvotes: 4

Related Questions