JDOaktown
JDOaktown

Reputation: 4465

create SQLite MyDb also creates webview*.*

So I've been successfully creating Android SQLite db's by extending SQLiteOpenHelper for a few weeks now.

Is there some way I can PREVENT any/all of the webview*.* db files from being created? What are they for? I don't believe I need them? At least not yet?

root@cdma_spyder:/data/data/com.ntier.android.MyApp/databases # ls -al

24576 2014-09-29 15:51 MyDbProvider.db
8720  2014-09-29 15:51 MyDbProvider.db-journal

40960 2014-09-29 15:51 webview.db
8720  2014-09-29 15:51 webview.db-journal
7168 2014-09-29 15:51 webviewCookiesChromium.db
0 2014-09-29 15:56 webviewCookiesChromiumPrivate.db

Upvotes: 1

Views: 149

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007296

Is there some way I can PREVENT any/all of the webview*.* db files from being created?

Get rid of all WebView widgets in your app.

What are they for?

They are for use by WebView, for caching and cookie purposes.

Upvotes: 2

Related Questions