1

I created a database using DB browser. I should copy the file in assets folder. What should be the extension of the file?

Abhi Ravella
  • 17
  • 1
  • 5

2 Answers2

0

If the database file can be visible to the user, there are several possibilities to show that the file is an SQLite 3 file.

However, on Android, database files are stored in a separate directory, and typically not visible as files. Therefore, there is no requirement or even recommendation for a file extension. In practice, many apps do not use an extension; but you can use whatever makes sense for you.

Community
  • 1
  • 1
CL.
  • 173,858
  • 17
  • 217
  • 259
-1

It should be anything. The recommended is .db

Chandrakanth
  • 3,711
  • 2
  • 18
  • 31