I have this WebView and I want to open this script in it. How do I do this?
WebView webview = (WebView) findViewById(R.id.webView1);
webview.getSettings().setJavaScriptEnabled(true);
webview.loadUrl("javascript:<script>http://ad.leadboltads.net/show_app_ad.js?section_id=xxxxxxxxx</script>")
Here is the script:
<script type="text/javascript" src="http://ad.leadboltads.net/show_app_ad.js?section_id=xxxxxxxx"></script>