I understand how to set the value of a edit box in WebView, and in a browser on PC with Javascript.
It is basically first find out the ID of the edit box (text), then s
I would imagine you are running the command before the page is loaded or it cannot resolve document itself. You should write this code as a function included in your document and then have android do:
mWebView.loadUrl("javascript: myFunction('test')");
Or better still, use @JavascriptInterface