title: Getting a file mime type using PhoneGap/JavaScript
body: <p>Using PhoneGap is it possible to get the mime type of a file in the local file system?</p>
  
  <p>Part of my app downloads a file from a remote URL on our server and saves it to the Android downloads folder. I then use the WebIntent plugin to open the file but one of the options this requires is a mime type.</p>
  
  <p>I've not been able to find anything in API Documentation or Google other than <a href="http://www.html5rocks.com/en/tutorials/file/dndfiles/" rel="nofollow" title="here">here</a>, but that is more relevant to forms.</p>
  
  <p>Has anyone tried to do this before?</p>