Only if it is stated via sevice. Sent from samsung mobile On Oct 9, 2012 1:09 PM, "Archana" <ramalingam.arch...@gmail.com> wrote:
> Ok. 1 more clarification. Will the task execute even if I exit the > application(like a service)? > > On Tuesday, October 9, 2012 10:36:14 AM UTC+3, Lokesh wrote: >> >> You can easily get code snippet from stack overflow. >> >> Sent from samsung mobile >> On Oct 9, 2012 1:00 PM, "Archana" <ramalinga...@gmail.com> wrote: >> >>> Thank you! Can you please provide me a link of simple example to use the >>> same? >>> >>> On Tuesday, October 9, 2012 10:24:08 AM UTC+3, Lokesh wrote: >>>> >>>> You can use timer task.. Start it once n schedule it with 5*60*1000 i.e >>>> 5 minutes. >>>> >>>> Sent from samsung mobile >>>> On Oct 9, 2012 12:34 PM, "Archana" <ramalinga...@gmail.com> wrote: >>>> >>>>> 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-d...@**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<http://groups.google.com/group/android-developers?hl=en> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to android-d...@**googlegroups.com >>> To unsubscribe from this group, send email to >>> android-developers+**unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >> >> -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en