> The Context class has a suite of functions for creating, opening, and
> deleting databases at the standard location of databases for your app.
>
> The SQLiteDatabase class can be used to access a databases at any absolute
> path.  In that case, you are using an absolute path, so use File to delete
> the database file at that path.
>
> But unless you are putting your database on the SD card, you would be best
> off using the Context methods for your database access.

Ah ok, I think I get it now. I can just treat the database like a
normal file. It wasn't obvious at first that I could "go under the
covers" and manipulate the database via the filesystem API.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to