androidmultithreadingandroid-serviceandroid-intentservice

Service vs IntentService in the Android platform


I am seeking an example of something that can be done with an IntentService that cannot be done with a Service (and vice-versa)?

I also believe that an IntentService runs in a different thread and a Service does not. So, as far as I can see, starting a service within its own thread is like starting an IntentService. Is that correct?


Solution

  • Tejas Lagvankar wrote a nice post about this subject. Below are some key differences between Service and IntentService.

    When to use?

    How to trigger?

    Triggered From

    Runs On

    Limitations / Drawbacks

    When to stop?