Tuesday, October 9, 2012

[android-developers] Polling at regular intervals in Android

Hi, I have 2 nanoHTTPD servers running in 2 instances of the emulator. The clients in both emulators should periodically poll to find if file got updated in server(every 5 minutes may be). Please let me know how  to implement this(as I am relatively new to Android)? Should i use Alarm Manager or create a Service?

Any help is appreciated.. Thank you!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate