hi,

I created a service which is launched by BOOT_COMPLETE event. The
launched service needs to make httpget and store the data. If httpget
fails, my serivce needs to make 2 httpget attempts with interval of
30s.To wait for 30sec, I used Thread.sleep() call.

 The problem Im facing is, once I make Thread.sleep() call, my service
is kill by Iprocess activity.and I see activityManager log as below
(nabservice is my service name)
W/ActivityManager(   59): Timeout executing service: ServiceRecord
{4316d2a0 com.nabservice/.NotifyInfoUser}

Pls correct me, If Im doing wrong. Shouldnt I call Thread.sleep() for
wait in a service ? Thanks in Advance.

Regards,
Sukumar.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to