title: Add javascript into WebView
body: <p>I am developing an application where in 1 part I want to add javascript into WebView.. But am not getting how to do it in an appropriate way.. Can anyone pls guide me into this?????</p>
  
  <p>I am doing it like:</p>
  
  <pre><code>      wb=(WebView)findViewById(R.id.webView1);
          wb.getSettings().setJavaScriptEnabled(true);
          wb.getSettings().setPluginState(WebSettings.PluginState.ON);
          wb.getSettings().setPluginsEnabled(true);
  
          wb.loadUrl("javascript:&lt;script " &gt;&lt;/script&gt; ");
          wb.setWebViewClient(new HelloWebViewClient());
  
  
   public boolean shouldOverrideUrlLoading(WebView view, String url) {
              view.loadUrl(url);
              return true;
          }
  </code></pre>