I’m wondering which is the best approach to access my application database: use a Content Provider, or implement my DAO by hand?
From my latest investigations, seems that Content Provider, even for app internal use, is preferable, but I don’t know exactly what are the drawbacks of each approach.
Can you give some feedback about this?
I’m wondering which is the best approach to access my application database: use a
Share
I prefer to use ContentProvider if you have concerns of closing or locking of db.
Check Simple Content Provider for db operations