Dennie Dennie - 2 months ago 12
Android Question

How to delete completely the initial table in Android

I created a table with the name SONGS in the assets/folder. And after that I create a new project, my project run to create a database name "data" with table name "BOOKS". But I found that the table "SONGS" also created in my new database? And now my database have two table "BOOKS" and "SONGS". I don't know why? How can I delete completely the "SONGS" table?


I have two recommendations:

  1. Modify your program so it runs an SQL query that DROPs table SONGS

  2. adb into your device/emulator, run sqlite and directly type in the DROP command