my idea was quite simple, it includes an activity, a
BroadcastReceiver, and a local service.
i try to bind to the service from either the activity or the
BroadcastReceiver.
the problem is:
if i call binding from the activity, everything looks fine.
but, if i call binding from the BroadcastReceiver, it always come back
with an exception (security not allowed, smth like that).

can anybody help? btw, because this is a loal service, i did not
define any permission in the manifest.xml. should i?

many thanks
CJ
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to