Is there a simple and elegant way to create a database from a script in Android ? I want to create my database on the first run from a script (maybe I’ll have to parse the file), is that a non-android method cause I can’t find a lot on this subject ?
My script only creates tables (there are no INSERT statements).
Thank’s
You can try shipping the entire db in your app.
Your own sqlite db
You can also bundle a .sql file in your assets and then execute those scripts. Android APIs