Skip to content Skip to sidebar Skip to footer

Failed To Create Sqlite Db In My Samsung Y Duos Device In Android?

I have android application . its working most of the devices , but it didn't work in the Samsung y duos only. my application database contain 6 tables, 2 tables data is encrypted.

Solution 1:

Looking into the Android Source code it seems that class DefaultDatabaseErrorHandler.java indicates that your database is corrupted. Looking into DefaultDatabaseErrorHandler.java and your logs suggests that onCorruption() of DefaultDatabaseErrorHandler.java class is being called and that method further deletes your database. So, the 2 tables that you have added for encryption may be causing the problem. I suggest you to please check those 2 table if they are creating any corruption to your whole database.


Post a Comment for "Failed To Create Sqlite Db In My Samsung Y Duos Device In Android?"