I have a android program (Java + html in a webview). I can call from the javascript to the Java code. But the other way around stopped working (after updating in eclipse).>
The JavaScript method is executed on a background (i.e. non-UI) thread. You need to call all Android View related methods on the UI thread. You can achieve what you need with:
mWebView.post(new Runnable() {
@Override
public void run() {
mWebView.loadUrl(...).
}
});
Which will post the task to run on the UI thread.