title: How do I get a domain link to open my app on android?
body: <p>The following works fine:</p>
  
  <p>I click on the link <code>www.mycompany.com</code> in an email and it starts my app:</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
      &lt;data android:host="www.mycompany.com/download" android:scheme="http"/&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>However, what I want to work is as below but it's not working:</p>
  
  <p>I want to be able to restrict it to the link <code>www.mycompany.com/download</code>:</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT"/&gt;
      &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
      &lt;data android:host="www.mycompany.com/download" android:scheme="http" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>Why the distinction? I don't want to block my entire website with the app. I just want that specific domain to redirect to the app. How do I do that?</p>