Hello there,

I am working on an activity, that is connected to a local service. The
service gets started fine in the activites onResume and can be
accessed.
What I want to do is to unbind the service in the activity's onPause
method. If I do that, I get an "Service not Registered" exception. And
if I don't do the unbind, I get a "Leaked Service connection"
exception.

I believe there is only one call to unbind the service.

So,  how can I fix that? Or how can I debug that? I tried to start the
service with Context.BIND_DEBUG_UNBIND, but I don't really know, how
this should provide debugging information?

Cheers,
Rutton.

-- 
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