how to load the javascript in android webView
<p>i have the two java script files of my web service..and it will display the bar charts in web view...but i'm unable to get that....this is the code which i used</p>

<pre><code>             String url="http://************/getchart.php?   id="+id+"&amp;sessionid=*********";
    webview.setWebViewClient(new WebViewClient(){
        @Override
        public void onPageFinished(WebView view, String url) {
            // TODO Auto-generated method stub
            super.onPageFinished(view, url);
            view.loadUrl("file:///android_asset/jquery.js");
            view.loadUrl("file:///android_asset/jscharts.js");
            view.loadUrl("javascript:$(document).ready(function() {setChart();});");
        }
        @Override
        public boolean shouldOverrideUrlLoading(WebView view, String url) {

            /*view.loadUrl("file:///android_asset/jquery.js");
            view.loadUrl("file:///android_asset/jscharts.js");
            view.loadUrl("javascript:$(document).ready(function() {setChart();});");*/

            view.loadUrl(url);
            return true;
        }

    });
    webview.loadUrl(url);
</code></pre>
