Use getDatabasePath() on your Activity or Service: http://developer.android.com/reference/android/content/Context.html#getDatabasePath(java.lang.String)
Supply it the name you will want for the database, and download the file to that specific path. On Mon, Jun 14, 2010 at 3:04 PM, Pinheiro <[email protected]> wrote: > After testing the various techniques to populate a large database > (50.000 records, 700KB), I've decided to download a SQLite database > directly from the Web to the phone (it takes just a few seconds, the > alternatives took up to 3 minutes). > > My question is that since there isn't a method to get it, the folder > where databases are stored is always > > getBaseContext().getFilesDir()."../databases" ? > > Is this a valid assumption for all Android versions? -- Mark Murphy CommonsWare [email protected] http://commonsware.com -- 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

