title: Android web browser, check if url is a file
body: <p>I'm making a browser android application. </p>
  
  <p>How do you determine if the url is a file? Like when you click a download button. Currently webView just loads and does nothing.</p>
  
  <p>Do I need to check if the url ends with an extension and open it through intents? or is there another way?</p>