title: Android Webview - How to use evaluateJavascript when javascript function accepts arguments?
body: <p>I would like to call a javascript function in my webview using <code>evaluatejavascript</code> method but I don't know how to use it when the function accepts arguments.</p>
  
  <p>My webview:</p>
  
  <pre><code>webView1.evaluateJavascript("download(11852,'c595b0ec8c')", new ValueCallback&lt;String&gt;() {
      @Override
      public void onReceiveValue(String s) {
           Log.d("LogName", s); 
      }
  });
  </code></pre>
  
  <p>This does not seem to work. I have read in android api docs that the first argument in <code>evaluateJavascript</code> is the javascript function code(in String) NOT the CALL to the javascript. So how would I execute the javascript with arguments?</p>
  
  <p>This is the javascript function:</p>
  
  <pre><code>function download(songId, key)
  {
      var form = document.getElementById('dlForm');
      form.action = '/download/zephzeph/' + key + '/' + songId + '.mp3';
      form.submit();
  }
  </code></pre>
  
  <p>Is this possible? Any sugggestions and ideas would be greatly appreciated.</p>