title: Can not call javascript function from activity
body: <pre><code>WebView myWebView = (WebView) findViewById(R.id.webview);                
      WebSettings webSettings = myWebView.getSettings();
      webSettings.setJavaScriptEnabled(true);
      webSettings.setPluginsEnabled(true);        
      myWebView.loadUrl("file:///android_asset/index.html");
      myWebView.loadUrl("javascript:hello()");
  </code></pre>
  
  <p>It doesnt work in 4.0 emulator or real device. I have proper tag in html like</p>
  
  <p><code>&lt;script type="text/javascript"&gt;..&lt;/script&gt;</code></p>
  
  <p>and i can fire it from firefox's console with no problem (it doesnt call alert command, i know it doesnt work in android)</p>
  
  <p>I am out of solutions, please help me.</p>
  
  <p>Btw this function call seems useless here because it is for testing, i will give a parameter later if this works. </p>
  
  <p>Edit:</p>
  
  <pre><code>&lt;h1 id="title"&gt;&lt;/h1&gt;
  ....
  
  &lt;script type="text/javascript"&gt;
  function hello()
  {
    console.log("hello"); 
    var title = document.getElementById("title");
    title.innerHTML = "hello";    
  }
  &lt;/script&gt;
  </code></pre>