Handle a link in the Android browser/webview to start directly an application
<p>I want my application to be opened from a link,
by following the directions of <a href="http://stackoverflow.com/questions/3469908/make-a-link-in-the-android-browser-start-up-my-app/3472228">Make a link in the Android browser start up my app?</a> <br/>
Well, it works fine (most of the time.... this is the reason I am asking for help) </p>

<p>My html link is</p>

<pre><code>&lt;a href="intent:#Intent;action=com.mark.MY_ACTION;end"&gt;Open Application&lt;/a&gt;
</code></pre>

<p>My intent filter is in the form </p>

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

<p>so far so good (I hope). 
It works fine from m-o-s-t of the browsers.</p>

<p>To test the above I wrote a demo activity </p>

<pre class="lang-js prettyprint-override"><code>final WebView webview = new WebView(this); 
setContentView(webview); 
webview.loadUrl("http://www.myhomepage.com/"); 
</code></pre>

<p>The page <a href="http://www.myhomepage.com/" rel="nofollow">http://www.myhomepage.com/</a> has some custom links/hrefs (including 
the inent one). 
Pressing regular links opens me a browser with those links, but pressing my "special 
link" (the intnet one) opens 
a 404 page<br/> 
"Web page not available 
intent:#Intent;action=com.mark.MY_ACTION;end 
might be temporarily down...." </p>

<p>While Diane mentioned in <a href="http://stackoverflow.com/questions/3469908/make-a-link-in-the-android-browser-start-up-my-app/3472228">The above link</a>.
"They allow you to direct the launch to only your app without the user having the option of instead going to the browser or any other app."</p>
