bind service android
A bound service allows components (such as activities) to bind to the service, send requests, receive responses, and even perform interprocess communication (IPC).
A bound service typically lives only while it serves another application component and does not run in the background indefinitely.