Code example for WebSettings

Methods: setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom

0
	@Override 
	protected void onCreate(Bundle bundle){
		super.onCreate(bundle);
		mWebView = new WebView(this);
		WebSettings webSettings = mWebView.getSettings();
        webSettings.setSavePassword(false);
        webSettings.setSaveFormData(false);
        webSettings.setJavaScriptEnabled(true);
        webSettings.setSupportZoom(true);
         
         
//		TextView textview = new TextView(this); 
//        textview.setText("This is the Graph Overview tab"); 
//        setContentView(textview); 
        mWebView.loadUrl("file:///android_asset/GraphOverview.html");
        setContentView(mWebView);
	} 
}