i have seen many android database application.
Some of the application have its database with .sqlite extension while some have .db extension.
What is the difference betwwen those both ? Should it both contain different things ?
Please help me for that.
And what should be the best to use for the android database ?
Thanks.
.sqlite file is as the name implies a file that contains SQLite database.
.db is the file extension used by Oracle, Paradox and XoftSpySE databases
You can name your SQLite database whatever you want. The content is not determined by the file ending but by a sequence of bytes which start every sqlite (3) file:
0x53 0x51 0x4c 0x69 0x74 0x65 0x20 0x66 0x6f 0x72 0x6d 0x61 0x74 0x20 0x33 0x00
In other words, it could be the same database content. There is no difference, as long as the creator did not put other bytes in it.