tags:

views:

167

answers:

1

Hi,

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 tables from 2 different OpenHelper (with different names) and only the first one seems to create. when I try to run the 2nd one, i get an error...

+2  A: 

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

matekm
Indeed, that answers my question, I will have to merge my OpenHelpers and create my tables all at the beginning of my App.thx matekm
Sephy