Code example for WebSettings

Methods: setJavaScriptCanOpenWindowsAutomatically, setJavaScriptEnabled, setPluginsEnabled, setSupportZoom

0
	private void setBrowserAttribute() { 
		if (mWebSetting == null) {
			mWebSetting = mWebView.getSettings();
		} 
 
		mWebSetting.setJavaScriptEnabled(true);
		mWebSetting.setSupportZoom(true);
		mWebSetting.setJavaScriptCanOpenWindowsAutomatically(true);
		// mWebSetting.setAllowFileAccess(true); 
		mWebSetting.setPluginsEnabled(true);
	} 
	 
	 private void setWebViewClient() 
	    { 
		   
	    	WebViewClient wvc = new WebViewClient() {
	            @Override 
	            public boolean shouldOverrideUrlLoading(WebView view, String url) {
	                mWebView.loadUrl(url);
	                // �ǵ����ĵ������¼�������֪���������ٽ���һ�£�Android�з���True����˼���ǵ���Ϊֹ��,�¼��ͻ᲻��ð�ݴ����ˣ����dz�֮Ϊ���ĵ� 
	                return true;