I am seeing some strange behavior with my application and the state of its database file after running some tests that close the database, delete it, and replace it with a t
Make sure that you have closed cursor properly into SELECT operation. Sometimes SQLiteOpenHelper creates .db-shm and .db-wal extensions database due to unclosed Cursor.