package com.rhomobile.rhodes.webview; import android.content.Context; import android.webkit.WebSettings; import com.rhomobile.rhodes.extmanager.IRhoConfig; import com.rhomobile.rhodes.util.ContextFactory; public class WebSettingsProviderEclair extends WebSettingsProviderBase implements IWebSettingsProvider { public void fillSettings(WebSettings settings, IRhoConfig config) { super.fillSettings(settings, config); settings.setDatabaseEnabled(true); String databasePath = ContextFactory.getAppContext().getDir("database", Context.MODE_PRIVATE).getPath(); settings.setDatabasePath(databasePath); } }