On Sun, Feb 5, 2012 at 10:52 PM, Zsolt Vasvari <[email protected]> wrote:
> Well, the unbind() call that threw the "Service not registered" was
> originally bound to from a WakefulIntentService, not an Activity.

Oh, I'd never bind to a service from any IntentService, regardless of
what Context you actually use for the bindService() call. Binding is
asynchronous, and IntentServices do not get along with asynchronous
operations, since the IntentService shuts down after onHandleIntent()
ends.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

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