Skip to content Skip to sidebar Skip to footer

What Is The Android_metadata Table?

I try to integrate an existing database file into my Android project. I follow the instructions on this blog. They write that I have to add a table android_metadata with a column

Solution 1:

the metadata table will be generated automatically. if you have content of german try updating the metadata table 'de_DE'.

Solution 2:

If you're okay opening the DB with read-write access then you can let the openDatabase(...) call automatically generate it. For example in Android:

SQLiteDatabase.openDatabase(m_szMainDBPath, null, SQLiteDatabase.OPEN_READWRITE);

Solution 3:

The metadata table is required to hold (as its name suggests) meta information about the application. This table is auto-generated in some cases (since api 4 if i remember correctly) but you may want to add it yourself.

Post a Comment for "What Is The Android_metadata Table?"