1

Possible Duplicate:
How to delete SQLite database from Android programmatically

In one of my Android Apps the SQLite database is no longer required. What is the prefered way to remove the database from it's app directory? Is there a convenience method or is it simply a delete against the filesystem?

Thanks in advance.

EDIT: Found it here: How to delete SQLite database from Android programmatically

Community
  • 1
  • 1
Harald Wilhelm
  • 6,656
  • 11
  • 67
  • 85
  • If you found the answer then you can put it up as answer yourself and accept it. So the question will be marked answered. – VendettaDroid Sep 30 '12 at 07:48

1 Answers1

2

I believe you might have already found the answer, but in any case :

 mContext.deleteDatabase(<Name_Of_Your_Database>);
Swayam
  • 16,294
  • 14
  • 64
  • 102