I want my application to be opened from a link, by following the directions of Make a link in the Android browser start up my app?. Well, it works fine (most of the time.... this is the reason I am asking for help).
My html link is
<a href="intent:#Intent;action=com.mark.MY_ACTION;end">Open Application</a>
My intent filter is in the form
<intent-filter>
<action android:name="com.mark.MY_ACTION"/>
<category android:name="android.intent.category.DEFAULT">
<category android:name="android.intent.category.BROWSABLE">
</intent-filter>
So far so good (I hope). It works fine from m-o-s-t of the browsers.
To test the above I wrote a demo activity
final WebView webview = new WebView(this);
setContentView(webview);
webview.loadUrl("http://www.myhomepage.com/");
The page http://www.myhomepage.com/
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
Web page not available
intent:#Intent;action=com.mark.MY_ACTION;end
might be temporarily down....
While Diane mentioned in The above link,
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.