On Fri, May 11, 2012 at 7:23 AM, RLScott <fixthatpi...@yahoo.com> wrote: > OK, maybe that question was too big. All I really need to know is can > I create a static thread that runs throughout the lifetime of the app > and not worry about thread termination, trusting that if the OS needs > to stop my app's process then it will close down that thread neatly > without system resources left hanging? The thread does not deal with > files. It's only interaction with the rest of the app is through > static variables.
Use a service to manage your thread, and ensure that the user has the ability to stop the service when the user no longer wants it running. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en