I want to know how to update sqlite DB based on time interval provided by user. I need to update location manager based on time interval in android application and update my data every time sqlite based on time interval.

Any sample code will be of great use to me.

Thanks