I searched everywhere and could not find the exact answer or even close.
I have a WebView that opens a web page (jQuery Mobile), and all is well.
Inside this page there are static links to mp3 and mp4 files. The idea is that when pressed, the device will open a standard audio or video application for playing each of them. This works when using the Android browser without problems.
When I open inside the WebView and click on the same links, nothing happens. Nothing opens or plays.
I set getSettings as wide as possible as I can.
**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);**
, , "shouldOverrideUrlLoading" URL, WebView. WebView - , , .
.
, WebView ?
!
/