I want to create a database that may become relatively large, a few megabytes maybe. maybe I should put this database on the sd card to save internal storage.
With SQLiteDatabase.openOrCreateDatabase() this should be quite straightforward. But I'd like to use SQLiteOpenHelper since it takes care of creating and updating the db so nicely. Unfortunately SQLiteOpenHelper seems to be restricted to the internal storage. Now I have noticed that SQLiteOpenHelper uses Context.openOrCreateDatabase() and Context.getDatabasePath() internally. Would it be too much of a dirty hack if I wrote my own ContextWrapper that implements these methods to create a database on the sd card? Or would this be a legitimate use of the API? Thanks, Markus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

