I found the answer to my own question.

http://developer.android.com/reference/android/content/Context.html#deleteDatabase(java.lang.String)

The context class is not where I would expect to find the function to
delete a SQLite database. Wouldn't it be more intuitive to have this
function on the SQLiteDatabase class?

On Mar 24, 11:24 pm, gudujarlson <gudujarl...@gmail.com> wrote:
> I have an automated test that creates a SQLite database. In the setup
> of the test I want to drop the database if it already exists. The
> problem is that I cannot find a function that deletes/drops a
> database. That seems like an odd omission. Help?
--~--~---------~--~----~------------~-------~--~----~
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