I have a webview that points to a website:
webView.loadUrl("https://websmash.herokuapp.com/");
When the user clicks on a file upload button in the website it should open a file upload dialog on the phone.
Matt Gaunt has provided a fully-functional example using onShowFileChooser(), although the file upload button is in the local index.html file. I've been trying to get this working for a website inside the webview, but to no avail.
What adaptations must be made to get it working when the button is in the website which the webview points to?