No, there is no guarantee about that. As I said, use the Alarm Manager. Plus it is big waste of resources to have a thread sitting there doing nothing. If you want to want for minutes or more of time, schedule an alarm to wake you up (possibly relaunching your app if it needed to be killed for resources elsewhere) at the desired time.
On Oct 28, 7:15 am, Brian <[EMAIL PROTECTED]> wrote: > I see... > > I guess more specifically.. if I use > > Thread.sleep(1000000); > > will the thread wake up 1000 seconds later if the phone is asleep? > or must I use the AlarmManager to do something like this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

