|
Answer» The main difference between Service and THREAD is given below: | Service | Thread |
|---|
| Service is an application COMPONENT that FACILITATES an application to run in the background in order to perform long-running operations without user interaction. | A Thread is a concurrent unit of execution. | | It exposes few functionalities to other applications by calling Context.bindService(). | GOOGLE has brought in HANDLERS and loopers into threads. | | When an application is killed, service is not killed. | When an application is killed, the thread is killed. |
|