@ Override public IBinder onBind ( Intent intent ) { LogManager . i ( TAG , "binding" ) ; return mMessenger . getBinder ( ) ; }
When binding to the service we return an interface to our messenger for sending messages to the service .