We have an Android application running on Android 2.2 on the Samsung Galaxy Tab, which writes data to SQLite DB.
However, on some tables, we find the following intermittent problem.
- Data is written to the database. (No SQLiteExceptions are thrown, we are committing a transaction).
- But the database does not actually contain data.
Removing and reinstalling the application or clearing the application data does not matter.
When we then factory reset the handset and repeat the same procedure, it works fine. This problem is not limited to this part; all of us in my development team have experienced this intermittently.
However, I could not reproduce the problem on any Android phones (I tried HTC Desire, HTC Desire HD and Samsung Galaxy S, all running Android 2.2) or on the emulator (Galaxy Tab works).
I have a suspicion that this may have something to do with the error that appeared in Samsung when they cracked Android 2.2. I was wondering if anyone else ran into this problem, and if so, did you know that you know some less drastic measure than factory resetting the tablet?
Thanks,
Siddhu
source share