How do I put static data into an SQLite database in Android?
Posted
by sirconnorstack
on Stack Overflow
See other posts from Stack Overflow
or by sirconnorstack
Published on 2010-06-08T01:35:17Z
Indexed on
2010/06/08
1:42 UTC
Read the original article
Hit count: 215
If I have a bunch of data that is never going to change (eg. an English language dictionary or the rgb values of a couple hundred color names), how do I use an SQLite database to store it? I know a database is faster than loading everything into memory when the app starts, but how do I make the database either the first time the app runs or "before" the apps ever runs?
© Stack Overflow or respective owner