Code example for WebChromeClient

0
		settings.setJavaScriptEnabled(true);
		//settings.setBuiltInZoomControls(true); 
		settings.setEnableSmoothTransition(true);
		settings.setSaveFormData(true);
		webView.setWebViewClient(new WebViewClient());
		webView.setWebChromeClient(new WebChromeClient());
	} 
	 
	 
	 
	@Override 
	public void onSaveInstanceState(Bundle outState) {
		super.onSaveInstanceState(outState);
		this.getWebView().saveState(outState);
	} 
	 
	public void setCurrentItem(NewsItem item) {
		this.currentItem = item;
	} 
	 
	private void loadUrl(String url) {