After submitting a form to the server
Java
WebView webView = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
HTML
<form>
<input type="text" name="helloWorld" value="zzz"/>
<input type="submit" />
</form>
Assuming the server returns the text HTTP 200 and payload qwerty
, how do I make the WebView
process this return value in Java without using JavaScript from the webpage to call the application?