I have many activities in my app, each activity call bindservice
and unbindservice < / Code> In the first activity to bring data
bindservice
and unbindservice
work fine. In other activity (which uses the same service) the Bind service method works fine, but the unbindservice
method gives an exception:
Invalid agreement exception: registered service No:
Please help.
The question of NickKids is very good and helped to find the cause of this exception in my case only one To face the problem, make sure that your bind service call and unbindService call are done against the same reference. Hope it helps.
Comments
Post a Comment