I have this simple service that broadcasts the current location of the user. I want to use the binding mechanism just to control the service life-cycle, but the service is just
I had my Activity implement ServiceConnection and bound like this:
Activity
ServiceConnection
bindService( new Intent( this, Service.class ), this, Context.BIND_AUTO_CREATE );
Then handled the callbacks for onServiceConnected() and onServiceDisconnected() in my Activity
onServiceConnected()
onServiceDisconnected()