I know you can define javascript interfaces for use in webviews. Can you go the other way and call javascript functions in android on your webviews?
for example
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
myWebView.addJavascriptInterface(new WebAppInterface(this),
"Android");
myWebView.loadUrl("http://www.mytest.com/whatever.php?");
String formValue = myWebView.fireJavascriptFunction("getFormInput");
and my html page would have the following javascript function
function getFormInput(){
return $("#myInput").val();
}
The idea would be to trigger the getFormInput() function from a native onclick handler of a native button.