title: How do I determine the MimeType that was used by GMail to pass a file that was received by my app?
body: <p>I have an app that's supposed to handle my custom data-type <code>.xyz</code>. I'm currently using the intent filter:     </p>
  
  <pre><code>[IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.CategoryDefault }, DataMimeType = "application/*", DataPathPattern = "*.xzy")]  
  </code></pre>
  
  <p>On a Pixel 2 with Android 9.0 GMail automatically opens <code>.xyz</code> files when I click on that attachment. Unfortunately, my app also receives <code>.doc</code> files which it can't handle appropriately.</p>
  
  <p>How do look at the MimeType that gets passed to me by an app like GMail to see which mimetype was passed for to me that I can filter less general?</p>