Android - How is it possible, that a service keeps running after the Activity has been shut down?
问题 I am a bit confused about how services function, notably these two things: From http://developer.android.com/guide/topics/fundamentals/services.html : A service is "started" when an application component (such as an activity) starts it by calling startService(). Once started, a service can run in the background indefinitely, even if the component that started it is destroyed. and: Caution: A service runs in the main thread of its hosting process—the service does not create its own thread and