Bob wrote: > Thanks, I thought I running on a different thread by calling the > service from a background thread.
Personally, I prefer the pattern of starting the service on the UI thread but then having the service immediately start up a background thread to do its work. That way, the service encapsulates the thread -- the client does not need to know or care what the service's threading model is. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---