Ashrotronics wrote: > First thanks for your response.Ye,I start my new Thread from my > activity, But the new thread does sth very important,and it should > never be killed by the System as long as my activity is alive ,Any way > i can get the message when the system killed my thread ??
Android does not kill off individual threads, in terms of resource management. It may close your activity, but not a thread inside that activity. So something else is causing your thread to die, possibly an exception that is not getting properly logged (e.g., you are catching the Exception and log re-throwing it or logging it). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

