What is difference between service and Intent Service?
Answer
Service class uses the application’s main thread, while IntentService creates a worker thread and uses that thread to run the service. IntentService creates a
queue that passes one intent at a time to onHandleIntent(). Thus, implementing a multi-thread should be made by extending Service class directly.
Answer
Service class uses the application’s main thread, while IntentService creates a worker thread and uses that thread to run the service. IntentService creates a
queue that passes one intent at a time to onHandleIntent(). Thus, implementing a multi-thread should be made by extending Service class directly.