I would like to open up my xamarin android app, from a web link. I have added the following intent code in my Activity class:
[IntentFilter(new []{ Intent.ActionView },
Categories = new []
{
Android.Content.Intent.CategoryDefault,
Android.Content.Intent.CategoryBrowsable
},
DataScheme = "https",
DataHost = "CinCardReader.Droid")]
and the HTML file to open up the app is :
<html>
<title>Open Android Application</title>
<head>
</head>
<body>
<a href="intent://CinCardReader.Droid/#Intent;scheme=launch;package=CinCardReader.Droid;S.content=WebContent;end">Open Application</a><br>
</html>
I appreciate if someone can help me fix the error. Right now, when i click on the link it gives an error: net::ERR_UNKNOWN_URL_SCHEME