But why would you want to suspend the thread? There is a good reason for the deprecation of the Thread.suspend() API: you make it too hard to avoid deadlock if you use it. Just let the scheduler do its job.
On Oct 1, 8:42 pm, bob <[email protected]> wrote: > How do you suspend a Thread on Android? I have a background thread, > and I need to write the onPause method. -- 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

