title: How to communicate between Android and Javascript?
body: <p>I need to communicate Android and Javascript.</p>
  
  <p>I want to call Javascript function in Android and send parameter to Javascript 'a','b','c' </p>
  
  <p>Android:</p>
  
  <pre><code>public boolean shouldOverrideUrILoading(WebView view, String url)
  
  if(url.contains("http://localhost:8080/login.html)){
     view.loadUrl("javascript:setDevice('"+a+"','"+b+"','"+c"');");
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function setDevice(a, b, c){
      jQuery("#a").val(a);
      jQuery("#b").val(b);
      jQuery("#c").val(c);
  }
  </code></pre>
  
  <p>Somebody help me plz..</p>