Launch android application from a browser link
<p>I have a problem trying to launch my application from the browser using my own scheme.<br>
Code is as follow:<br>
Manifest file:</p>

<pre><code>   &lt;activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main" 
        android:exported="false"&gt;
        &lt;intent-filter&gt;

            &lt;data  android:scheme="allplayer" /&gt;

            &lt;action android:name="android.intent.action.VIEW" /&gt;
            &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
</code></pre>

<p>Html file:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;a href="allplayer://site.com"&gt;Test link&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>If I click on the link, my application wont start. I did a lot of researches, but couldn't find an answer.<br>
If I change <strong>allplayer</strong> with <strong>http</strong> everything works fine.<br>
From <a href="http://stackoverflow.com/a/6139783/1503155">this link</a>, I learnt that it is not recommended to use your own schemes.<br> Does that mean your own schemes wont work?<br>
The person <a href="http://stackoverflow.com/q/3469908/1503155">here</a> is using his own scheme, and from his feedback it seems that it is working.<br>
Am I missing something. Need your help.<br>
Thanks in advance.</p>
