Code example for WebChromeClient

0
		// Set WebView Optimize; 
		webview.setVisibility( View.GONE );
		webview.setFocusable( true );
		webview.setFocusableInTouchMode( true );
		 
		webview.setWebChromeClient(new WebChromeClient());
		 
		// set Custom WebView Client 
		UnityWebViewClient client = new UnityWebViewClient();
		client.setGameObject( gameObject );
		webview.setWebViewClient( client );
		 
		/* 
		webview.addJavascriptInterface( 
			new WebViewPluginInterface(gameObject), "Unity"); 
		*/ 
 
		// Init WebSettings 
		WebSettings webSettings = webview.getSettings();
		webSettings.setSupportZoom(false);
		webSettings.setJavaScriptEnabled(true);