Re: [android-developers] Setting a wait/sleep on a Service

2011-03-02 Thread Kostya Vasilyev
I'd use AlarmManager, possibly with IntentService or Mark Murphy's WakefulntentService. That wait() in the sample is just to illustrate that the service might be doing something that takes a certain length of time. -- Kostya 01.03.2011 22:09, Chris Stewart пишет: I'm looking at building a se

[android-developers] Setting a wait/sleep on a Service

2011-03-02 Thread Chris Stewart
I'm looking at building a service into my app, and here's what I'm currently reading: http://developer.android.com/guide/topics/fundamentals/services.html#ExtendingIntentService. It seems to suggest that the way you set a wait, or sleep, is to add it in the onHandleIntent method. Is that correct