Deleting SQLite rows automatically/periodically
Posted
by anselmophil
on Stack Overflow
See other posts from Stack Overflow
or by anselmophil
Published on 2010-03-29T06:01:57Z
Indexed on
2010/03/29
7:33 UTC
Read the original article
Hit count: 332
Hi guys!
So, i have a application that displays tasks and i created an option in the Settings menu that lets you choose in how many days all (Never, 10 days, 20 days or 30 days) these tasks should be automatically deleted. So when i open up the app there will be a method that will be called and check if theres any tasks to be deleted. I did that to challenge myself, but i'm hitting the wall with my head and i cant come up with something. So here i am in need of help!
A little more information: i was trying to do something with java/android code, but from past searches i saw people dealing with it using SQL functions. Is it better?
Thanks in advance guys!
© Stack Overflow or respective owner