Audio not working in Android WebView using shouldInterceptRequest()
问题 My Android app is showing an html5 e-book in a WebView. I have a zipped file containing an e-book with all its resources: text, images and audio (mp3 files). In order to unzip the book I use shouldInterceptRequest(), which intercepts the file:///... requests, and returns the data via a WebResourceResponse object. The code works fine for text and images. When I get to audio resources, I get runtime errors, and the audio file is not played. Note: I do see the unzipped file is returned with the