0

Im making a phone automation system with a web interface. As part of this I am looking to replace all remote controls (tv media center etc) with my phone.

I have a Roku media player that has a remote control iOS app, what I am trying to do is to launch the Roku native phone app from my web interface.

I know it is possible to launch apps via href such as this:

<a href="fb://profile">Launches native FB app</a>

But I have tried both these which fail

<a href="roku://">Fails to launch native 'Roku' app</a>

<a href="ROKU://">Fails to launch native 'ROKU' app</a>

So I have two main questions:

  1. Is it possible to launch any app from a web link, or does the app developer need to enable that function in some way?

Answer - Yes the app developer will need to set a url schemer

  1. Is there a way to determine the URL you would need to launch an app IE the Facebook app can be launched by fb:// but can you determine that anywhere?

Answer - There is a link to multiple URL schemers for popular apps below but my understanding is that the app developer would need to release them

Thanks

JS Fiddle just in case - https://jsfiddle.net/0znc12bs/

Update - as a point of reference I am not developing an app this is a web service trying to connect to apps I didn't author.

Update2 - I have been in touch with Roku support and their remote app currently doesn't support deep linking.

Community
  • 1
  • 1
megaSteve4
  • 1,760
  • 1
  • 17
  • 24
  • 1
    [This post](http://stackoverflow.com/questions/8201724/how-to-register-a-custom-app-opening-url-scheme-with-xcode-4) might be helpful. – Vatsal Manot Mar 26 '16 at 16:44
  • 1
    I believe that apps have to support URL schemes (i may be wrong). I know that some apps you can specify specific url schemes, but I'm not sure if it is automatically done. – Minebomber Mar 26 '16 at 16:45
  • The post @VatsalManot references is informative but basically answers my question - that the app developer needs to turn on 'deeplinking' and configure it. It is not on by default to all apps. – megaSteve4 Mar 26 '16 at 17:03

1 Answers1

0

To open the app from the web url the app developer need to set the id (deep linking) setting and URL Schemas in the app

For the famous app you can find the deep linking url from the net,from that you can make your list to open the app
else you can find on it's site if they have written that

List of sites which can provides some list of url schemas which you can use to open app from the web :https://stackoverflow.com/a/11155918/4557505

Community
  • 1
  • 1
HardikDG
  • 5,892
  • 2
  • 26
  • 55
  • That other answer reference above has a awesome list of URL schemers for popular apps - however it comes to light the specific app I wanted does not have a URL schemer built in. Thanks tough – megaSteve4 Mar 26 '16 at 17:59