title: Handling specific URLs with intent filters in Xamarin Mono for Android
body: <p>I'm attempting to have my Activity handle urls taking the form of <code>mydomain.com</code> or <code>www.mydomain.com</code> with both <code>http</code> and <code>https</code> schemes. Currently the IntentFilter attribute for my activity looks like this:</p>
  
  <pre><code>[IntentFilter(
    new[] { Intent.ActionView },
    Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable },
    DataHost = "mydomain.com",
    DataScheme = "http"
  )]
  </code></pre>
  
  <p>Which generates this in the manifest, and doesn't appear to be working for any of the required url configurations:</p>
  
  <pre><code>&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:host="mydomain.com" android:scheme="http" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p><strong>How can I change this attribute so that my activity will handle all urls of the form http(s)://(www.)mydomain.com ?</strong></p>