Is it better to create the db/tables programmatically or through a .db file in assets

Posted by llappall on Stack Overflow See other posts from Stack Overflow or by llappall
Published on 2010-03-02T16:23:41Z Indexed on 2010/03/14 16:15 UTC
Read the original article Hit count: 504

Filed under:
|
|
|

Hi,
does Android have a "best practices" guideline on creating & populating the db/tables programmatically vs. deploying a .db file in assets?

What are the pros/cons of both approaches?

I have a db with big long strings in several columns, and about 50 rows, so writing the insert statements alone would take quite some space. It seems a waste.

Thoughts?

Thanks!
llappall

© Stack Overflow or respective owner

Related posts about android

Related posts about db