I have a Android 2.1 application with a WebView. In that WebView I want to load a HTML file from the APK’s assets folder itself. I’ve read how in Android 3.0 (API Level 11) you can intercept requests and formulate your own response.
What I want to do is supply a dataset to the webview dynamically without having to reload the page. How would I go about doing this properly?
You can probably skip the AJAX request and just use
addJavascriptInterface.