0

I am trying to save some data in SQLite database in an android app.

Problem

Data is saved and read without any problem but when I try to view the database file using DB browser for SQLite, database file is empty, it has no tables.

I have all three database files

  1. .db
  2. .db-shm
  3. .db-wal

in the same directory but that doesn't makes any difference.

Question

How can I view the database file in DB browser for SQLite?

4
  • seems that you have open SQLiteDatabase - you have to close() it Commented Dec 18, 2018 at 19:03
  • What program "saved and read without any problems"? Are you sure it's using the same database file? Commented Dec 18, 2018 at 19:28
  • @Shawn yes I am sure, its the same database file. Commented Dec 19, 2018 at 20:03
  • Related: stackoverflow.com/questions/61684314/… Commented May 8, 2020 at 17:10

0