How can delete SQLite database in Android programmatically?

Once you have your Context and know the name of the database, use: context. deleteDatabase(DATABASE_NAME); When this line gets run, the database should be deleted.

Sizin İçin Seçtik  Can I connect MySQL with android studio?

Leave a Reply

Your email address will not be published. Required fields are marked *