Currently, the only way I found out is to use JavaScript injection:
mWebView.loadUrl("javascript:helloWorld(\"hi\");"); //or postUrl if using HTTP POST
This will call the function helloWorlddefined in the JavaScript of the web page with the parameter hi.
source
share