Android
Programming and Technical
Programming
Technical
How to monitor service connection status in bound services?
Options
1) using isServiceConnected(), it returns true if service is connected
2) using onServiceDisConnected(), this function will be called if connection is broken
3) client can keep polling to service if it is available or not.
4) using ServiceConnection class.
Read Solution (Total 1)
-
- 4) using ServiceConnection class. this class is having two callbacks isServiceConnected() and onServiceDisconnected().
- 3 years agoHelpfull: Yes(0) No(0)
Android Other Question