title: Playing an MP4 or MP3 from a Link within an Android WebView
body: <p>I have searched far and wide and can't seem to find the exact answer or even close.</p>
  
  <p>I have a WebView that opens a webpage (JQuery Mobile) and all is well.</p>
  
  <p>Within that page there are static links to both mp3 and mp4 files.
  The idea is that when clicked - the device will open the default sound or movie app to play each. This works when using the Android browser without issue. </p>
  
  <p>When I open inside WebView, and click the same links - nothing happens.
  Nothing opens, or plays.</p>
  
  <p>I'm setting getSettings as wide open as I can.</p>
  
  <pre><code>**web.getSettings().setJavaScriptEnabled(true); 
      web.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
      web.getSettings().setPluginsEnabled(true);
      web.getSettings().setSupportMultipleWindows(true);
      web.getSettings().setSupportZoom(true);
      web.getSettings().setBuiltInZoomControls(true);
      web.getSettings().setAllowFileAccess(true);
      web.setVerticalScrollBarEnabled(false);
      web.setHorizontalScrollBarEnabled(false);**
  </code></pre>
  
  <p>I'll also note that I believe "shouldOverrideUrlLoading" only works on the initial URL loaded in the WebView. This is a link inside that WebView - so does not seem to work.</p>
  
  <p>I had tried that.</p>
  
  <p>Any ideas on how to enable the user the ability to click a link within a WebView and open the associate application as the browser does?</p>
  
  <p>Much Appreciated!</p>
  
  <p>/r</p>