trostum wrote:
> Hi.
> 
> The app i'm currently developing needs a database with lots of fields
> in it. What's the best way of creating and populating this database
> the first time? Do i really need to write all thos SQL INSERT
> statements?
> 
> I have a database with the data i need.

You can package that database as an asset or raw resource, then copy it
(via streams) from there to the proper spot in the filesystem.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to