[android-developers] Re: Timeout executing service

2008-12-12 Thread Mark K
Rather than using Thread.sleep(), use a Handler object instead, use Handler.postDelayed() . Using Thread.sleep in a GUI app will cause it to time out. Mark On Dec 11, 8:13 am, "Andrew Stadler" wrote: > Sukumar- > > The activity manager assumes that your code has die

[android-developers] Re: Timeout executing service

2008-12-11 Thread Andrew Stadler
Sukumar- The activity manager assumes that your code has died, because it did not return from the broadcast receiver in a "reasonable" amount of time. In general, receivers should execute very very quickly, and any long-term operations (such as *any* network operations) should be on their own th