How about  deleteDatabase(String name)?

http://code.google.com/intl/fr/android/reference/android/content/ContextWrapper.html#deleteDatabase(java.lang.String)

On 7 jan, 22:03, mitch <mitche...@gmail.com> wrote:
> Hiya,
>
> Does anyone know if there is a way to remove an android database file
> programmatically? I need to remove a lot of records (10,000+) and it
> seems it would be quicker to remove the database and re-create from
> scratch rather than deleting from the various tables (Which takes
> about 20 seconds using triggers to force referential integrity).
>
> Thanks in advance!
> mitch
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to