Sha256: 80b20fffa844e64a638ee3ee718165756f07b01bfb3e36ed801da4112aa3f52d
Contents?: true
Size: 674 Bytes
Versions: 32
Compression:
Stored size: 674 Bytes
Contents
package com.rhomobile.rhodes.webview; import android.content.Context; import android.webkit.WebSettings; import android.webkit.WebView; public class RhoWebSettingsNew implements RhoWebSettings { public WebSettings setWebSettings(WebView w) { RhoWebSettingsOld ws = new RhoWebSettingsOld(); WebSettings webSettings = ws.setWebSettings(w); webSettings.setAppCacheEnabled(true); webSettings.setDatabaseEnabled(true); webSettings.setJavaScriptEnabled(true); Context context = w.getContext(); String databasePath = context.getDir("database", Context.MODE_PRIVATE).getPath(); webSettings.setDatabasePath(databasePath); return webSettings; } }
Version data entries
32 entries across 32 versions & 1 rubygems