Question Detail

How to truncate sqlite table in android?

4 years ago Views 856 Visit Post Reply

I add the contacts in table SQLite while my app starts and use that data. but every time when I run my app contacts add the duplicate. Now I want to delete first if table has database then want to add fresh contact
How can I do this please help me, I am new for SQLite?
 


Thread Reply