open android app using scheme not working
<p>I feel stupid as I have found three different questions which seem to be the same as mine, but I can't get it to work.  I tried "Open Android app using intent-filter not working", "Open Android app from URL using intent-filter not working", and "Open Android app from URL using intent-filter not working for 4.1 version 2". My app captures activity on my mobile web site using a WebView, but I know a lot of my users use Google to launch their browser.  I would like instead for it to launch my app.  In addition, it would be nice when a user types the address of my site into a browser, they would get a selection dialog to give them the option of using my app for my web site.  My Manifest has the following:</p>

<pre><code>    &lt;activity android:name=".MainActivity"&gt;
        &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:scheme="http" /&gt;
            &lt;data android:host="www.tennisrecruiting.net" /&gt;
            &lt;!--&lt;data android:pathPattern="/.*" /&gt;--&gt;
        &lt;/intent-filter&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
</code></pre>

<p>I have tried it with and without the commented out line, and with the pattern ".*" but none of them work.  That is, if I type "tennisrecruiting" into a google search, and click on a choice that takes me to "<a href="http://tennisrecruiting.net" rel="nofollow">http://tennisrecruiting.net</a>", the phone goes directly to my Chrome browser without asking to use my app.  Similarly, if I am in my chrome browser and type "<a href="http://tennisrecruiting.net" rel="nofollow">http://tennisrecruiting.net</a>" as the target URL, chrome just opens my site without launching my app or asking the user for a choice.</p>

<p>What am I doing wrong - other questioners seem to get it to work but I have tried all of their solutions and they don't work for me.  I have a Galaxy G6 on Verizon with Android version 6.0.1, Kernel version 3.10.61</p>