Sunday, July 3, 2011

[android-developers] Re: start binded service from broadcast receiver

Is your BroadcastReceiver trying to bind to the service? If so, I do not think you are allowed to do that (hence the exception). Broadcast receivers should only perform quick tasks.

Try starting your own service from the receiver, that binds to the AIDL.

BroadcastReceiver -----> start your own service -------> bind via AIDL ------------> remote service.

Give it a shot :)

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

No comments:

Post a Comment