What is the android_metadata table?

后端 未结 3 423
粉色の甜心
粉色の甜心 2020-12-11 01:32

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

相关标签:
3条回答
  • 2020-12-11 01:48

    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);
    
    0 讨论(0)
  • 2020-12-11 01:53

    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.

    0 讨论(0)
  • 2020-12-11 01:59

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

    0 讨论(0)
提交回复
热议问题