0

Here i develop one android application, I want to call web service automatically in background after some time duration which i set, How to do this i don't know.

please help me.

Thanks in Advance.

Infoware
  • 158
  • 2
  • 16
  • You can use timer. Here is useful link http://stackoverflow.com/questions/1877417/how-to-set-a-timer-in-android – Naresh J Sep 26 '12 at 09:43

1 Answers1

0

Use AlarmManager to call your app at your set interval. Whenever your app is called by it, access your webservice.

Raghav Sood
  • 81,899
  • 22
  • 187
  • 195