I created a database using DB browser. I should copy the file in assets folder. What should be the extension of the file?
Asked
Active
Viewed 88 times
1
-
It should be anything sample : data.db , data.sql or ,data . – Ahmad Aghazadeh Jul 01 '15 at 05:02
-
What is reason to store your database file in the assets folder? – Pranav P Jul 01 '15 at 05:12
2 Answers
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.