We have a button in **HTML**. When the user clicks it, the value of my specific `EditText` should change, but it doesn't.

**Code:**

```
class ActivityTest extends Activity {

    TextView textView1;

    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test);

        WebView webView = (WebView) findViewById(R.id.webView);
        webView.loadUrl("file:///android_res/raw/htmlimages.html");
        webView.addJavascriptInterface(new MyTest(), "Scripts");
        webView.getSettings().setJavaScriptEnabled(true);
        textView1 = (TextView) findViewById(R.id.textView1);
    }

    public class MyTest {

        void setText(String string) 
        {
            textView1.setText(string);
        }
    }
}

```