0

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

2 Answers2

0

Use CountDownTimer http://developer.android.com/reference/android/os/CountDownTimer.html or timer service from which you can call the query for the regular interval of the time

ud_an
  • 4,939
  • 4
  • 27
  • 43
0

I have given one related answer here , It may help you.

Community
  • 1
  • 1
MKJParekh
  • 34,073
  • 11
  • 87
  • 98