On Fri, Dec 2, 2011 at 3:05 PM, Narendra Singh Rathore <[email protected]> wrote: > > >> Create you database in code, when app is first run. Load data from >> assets. If there is a lot of data load it from internet. >> >> Regards >> > > So, isn't it possible to use already made database from assets. > There should be some way to do this. >
Yes, it is. Create an empty database in the app's private folder, get it's filename and overwrite it with the database stored in assets. If the database file is big (more than 1MB), you'll have to split it or store it as a raw asset. -- 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

