I know I should know the answer to this, but I don't :sign0085:
I can create a SQLite DB on the fly, create tables, add/delete/edit records.. but How do I simply include a DB I've created on the PC in the install package and access it? My brain has gone to sleep and I've ran out of coffee....
Two small additions:
1) I use DirExternal which is supposed to be the SD card if there is one, I think.
2) If your DB is bigger than 1 MB, you will get an error on Android 2.1 and below when it tries to decompress your .db file during copy. Erel recommended using the file extension .jet instead of .db when placing it in the B4A files directory and adding to the project. This suppresses compression and allows the file copy to work. But, it makes the .apk larger.
If your DB is less than 1 MB you don't have to mess around with changing the file extension.
Careful with checking if db exists. When phone still starting up (that's when you see on status bar, the "scanning media files", the check ifExists, may return a false. I get around this problem, by initiating a timer, which gives a but of time to the phone in case I get a 'false'. If after some time, the return is still a 'false' I copy the db as Klaus suggested.