Hi,
I had a bug in my code where Service.onBind() returned null, in a
local Service. But, Context.bindService() returned true, though the
ServiceConnection was not called back.

Isn't this inconsistent with the docs? In onBind():
Return the communication channel to the service. May return null if
clients can not bind to the service.

In bindService():
If you have successfully bound to the service, true is returned; false
is returned if the connection is not made so you will not receive the
service object.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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