Having several SQLiteOpenhelper in one appli Android

后端 未结 2 1651
情书的邮戳
情书的邮戳 2021-02-09 16:29

I would like to know if it is possible to have several DbOpenHelper in the same app Android but to use them to write and read in the same database? because I\'m trying to create

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-09 16:45

    Looks like You can't have more than one helper for each DB. Here's explained why: http://blog.foxxtrot.net/2009/01/a-sqliteopenhelper-is-not-a-sqlitetablehelper.html

提交回复
热议问题