title: How to force a link to open with a particular app in android using javascript
body: <p>Am trying to force open a link with the particular using javascript.How can I do that. Unable to find it.Just I want the below link to be opened with youtube app but its been redirected to the home page in browser.</p>
  
  <pre><code>   &lt;html&gt;
        &lt;head&gt;
     &lt;script&gt;
        window.location.href = "https://www.youtube.com/watch?                  
           v=hVSdReP8b14&amp;list=PLE7ufOKMDsey6rNilV0rlZzb8vdFj6dFL&amp;index=1";
    &lt;/script&gt;
     &lt;/head&gt;
     &lt;body&gt;
       &lt;p&gt;welcome&lt;/p&gt;
     &lt;/body&gt;
    &lt;/html&gt;
  </code></pre>