mercredi 24 juin 2015

Delete records from sqlite in andoid

I know this is simple question but I'm new to sqlite and android. My app database has four tables for uploading records to server. I want to delete those records which have been synced to server, I don't know whether to run the query directly or should i take the records first in cursor and then delete through the for loop. Can anybody give me the direction with a sample code. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire