Android SQLite database locale, locking, and version
- by gdoten
In some books and online I see these method calls being made after a
database is created:
db.setLocale(Locale.getDefault());
db.setLockingEnabled(true);
db.setVersion(DB_VERSION);
Why is this done? As far as I can tell, after creating a new database,
the system adds a table named android_metadata with one field named
locale and that table has…