[android-developers] Re: How to dump a Sqlite statements txt file into db.

2010-11-05 Thread Bret Foreman
I use the StringSerializer and XmlPullParser classes for this purpose. With XML you can add more fields to the file later and still manage forward and backward compatibility easily. And I hate writing parsers. -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: How to dump a Sqlite statements txt file into db.

2010-11-05 Thread DanH
Well, you could have a loop, and read lines from a flat file (or a resource array entry). Or you could pre-build the DB on a PC and install it during your initial bring-up. A little bit of a song and dance to do this, but nothing particularly complex or difficult. On Nov 5, 7:44 am, "jlopeznava.

[android-developers] Re: How to dump a Sqlite statements txt file into db.

2010-11-05 Thread kamiseq
well 200 rows is not a such big deal, try using import statement or using transaction for all inserts - anyway look for bulk operation -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@g