> (I thought that starting a service > leads to a new thread in which the service runs)
At least in M5, with a default setup for the service, and the service in the same application, it does not run on a separate thread. If you call into the service from an activity, and you're calling from the activity's main thread, the activity will block until the service returns (or until the Grim Reaper determines your activity has been unresponsive for too long and kills it off). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.1 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

