title: Call javascript in web view on Android
body: <p>I made HTML file with JavaScript functions in and Android UI to call these functions. I don't know how to call JS in web views on Android. Please help.
  Example:</p>
  
  <pre><code>//JavaScript
  &lt;script&gt;
  function doSomething(){
  //do something
  }
  &lt;/script&gt;
  
  //Android Java
  Button clickButton = (Button) findViewById(R.id.button);
  clickButton.setOnClickListener( new View.OnClickListener() {
  
          @Override
          public void onClick(View v) {
              //call JS function doSomething()
          }
  });
  </code></pre>