I was looking for a clear answer for this, but could not find it anywhere. When an android application tries to establish a connection to a service and implements the ServiceConnection (onServiceConnected () and onServiceDisconnected ()) methods, do these callback functions perform in a separate thread or in the main user interface thread? Any idea?
source share