android-intentservice

Service vs IntentService

柔情痞子 提交于 2019-11-25 22:31:20
问题 Can someone please show me 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 it not? I would appreciate if someone can help me with both of my questions. 回答1: Tejas Lagvankar wrote a nice post about this subject. Below are some key