Hi,

I am getting IllegalArgumentException: Service is not registered when
i try to stop my service by initially calling unbindservice and then
stopService.


Before calling unbindService i first check if my service is still
bound by checking (mBoundService - obtained from the
ServiceConnection) I also check if the service is not stopped and only
then i call the unbindService But I still get the error.
>From the posts that I read only I found out that both these calls are
asynchronous and that the service will only stop when nothing is bound
to it.

Please can anyone let me know if I am missing on anything or if my
understanding is wrong.

Thanks,
Prajakta

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to