prajitdas / SPrivacy

Android project to provide privacy controlled data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fake Contacts Table not getting created

prajitdas opened this issue · comments

This is possibly happening due to a bug of open db references. Handle the db insert for images differently and it might work.

This happened because the two tables were being created in the same database. The call to create table was also happening in create db which once created would only be upgraded and not recreated. So the second table was not getting created. Fixed this bug by using different databases. A possible better solution would be to create a single databasehelper and initiate all tables in the same database.