You can include sqlite .db file as a raw asset and then copy of that db file to the data directory during the initialization of your app.
On Wed, Nov 4, 2009 at 5:05 PM, richard <[email protected]>wrote: > Hi all, > > I want to create a sqlite database by importing data from some > data files, like csv etc., and then put this database into one of my > android application and then deploy into the Android device. > > By now the samples and tutorial what I found are all taliking > about creating the sqlite database at runtime when running the android > application on the device. Is there anyway I can create it offline > and then attach it to my application later? > > Any tools and docs for this? > > Thank you very much! > > > regards > > Richard > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

