Code examples for WebSettings

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
98:	settings.setJavaScriptEnabled(true); 
99:	settings.setJavaScriptCanOpenWindowsAutomatically(true); 
100:	settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL); 
-
106:	WebViewReflect.setStorage(settings, true, "/data/data/" + appPackage + "/app_database/"); 
Full Snippet Info
9
CodeRank
28:	settings.setSavePassword(true); 
29:	settings.setSaveFormData(true); 
30:	settings.setJavaScriptEnabled(true); 
31:	settings.setSupportZoom(false); 
32:	settings.setCacheMode(WebSettings.LOAD_NO_CACHE); 
33:	settings.setDomStorageEnabled(true); 
34:	settings.setSupportMultipleWindows(false); 
Full Snippet Info
8
CodeRank
39:	settings.setAppCacheEnabled(true); 
40:	settings.setDomStorageEnabled(true); 
Full Snippet Info
8
CodeRank
81:	settings.setDatabaseEnabled(true); 
-
85:	settings.setDatabasePath(databasePath); 
Full Snippet Info
7
CodeRank
205:	settings.setJavaScriptEnabled(true); 
206:	settings.setJavaScriptCanOpenWindowsAutomatically(true); 
207:	settings.setGeolocationEnabled(true); 
208:	settings.setDomStorageEnabled(true); 
-
210:	settings.setDatabasePath(databasePath.toString()); 
211:	settings.setAppCacheEnabled(true); 
212:	settings.setAppCacheMaxSize(1024 * 1024 * 4); 
Full Snippet Info
7
CodeRank
89:	settings.setJavaScriptEnabled(true); 
90:	settings.setPluginsEnabled(true); 
91:	settings.setLightTouchEnabled(true); 
Full Snippet Info
7
CodeRank
53:	settings.setBuiltInZoomControls(true); 
54:	settings.setJavaScriptEnabled(true); 
55:	WebSettingsAccessor.setAllowUniversalAccessFromFileURLs(settings, true); 
Full Snippet Info
7
CodeRank
49:	webSettings.setSavePassword(false); 
50:	webSettings.setSaveFormData(false); 
51:	webSettings.setJavaScriptEnabled(true); 
52:	webSettings.setSupportZoom(false); 
Full Snippet Info
7
CodeRank
43:	settings.setBuiltInZoomControls(false); 
Full Snippet Info
7
CodeRank
45:	settings.setLoadsImagesAutomatically(true); 
46:	settings.setUseWideViewPort(true); 
47:	settings.setLoadWithOverviewMode(true); 
48:	settings.setLightTouchEnabled(true); 
49:	settings.setBuiltInZoomControls(true); 
50:	settings.setJavaScriptEnabled(true); 
Full Snippet Info
7
CodeRank
34:	settings.setJavaScriptEnabled(true); 
35:	settings.setSupportZoom(false); 
36:	settings.setLayoutAlgorithm(LayoutAlgorithm.NARROW_COLUMNS); 
Full Snippet Info
7
CodeRank
45:	settings.setJavaScriptEnabled(true); 
46:	settings.setAppCacheEnabled(false); 
Full Snippet Info
7
CodeRank
56:	settings.setLightTouchEnabled(true); 
57:	settings.setBuiltInZoomControls(true); 
Full Snippet Info
7
CodeRank
34:	settings.setJavaScriptEnabled(true); 
35:	settings.setUserAgentString(settings.getUserAgentString() + " " 
Full Snippet Info
6
CodeRank
30:	webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE); 
31:	webSettings.setBuiltInZoomControls(true); 
32:	webSettings.setJavaScriptEnabled(true); 
33:	webSettings.setPluginsEnabled(true); 
34:	webSettings.setDomStorageEnabled(true); 
35:	webSettings.setUserAgentString("wp-android-native"); 
36:	webSettings.setSavePassword(false); 
Full Snippet Info
6
CodeRank
165:	settings.setSavePassword(false); 
166:	settings.setCacheMode(WebSettings.LOAD_NO_CACHE); 
167:	settings.setAppCacheEnabled(false); 
168:	settings.setUseWideViewPort(true); 
169:	settings.setLoadWithOverviewMode(true); 
170:	settings.setDefaultZoom(WebSettings.ZoomDensity.FAR); 
Full Snippet Info
6
CodeRank
116:	settings.setAppCachePath(mCachePath); 
117:	settings.setAppCacheMaxSize(BUFFER_SIZE); 
118:	settings.setAppCacheEnabled(true); 
119:	settings.setAllowFileAccess(true); 
120:	settings.setCacheMode(WebSettings.LOAD_NO_CACHE); 
Full Snippet Info
6
CodeRank
30:	settings.setSavePassword(false); 
31:	settings.setJavaScriptEnabled(true); 
32:	settings.setCacheMode(WebSettings.LOAD_NO_CACHE); 
Full Snippet Info
6
CodeRank
81:	settings.setJavaScriptEnabled(true); 
82:	settings.setPluginsEnabled(true); 
83:	settings.setAllowFileAccess(true); 
84:	settings.setJavaScriptCanOpenWindowsAutomatically(true); 
85:	settings.setSupportMultipleWindows(true); 
Full Snippet Info
6
CodeRank