*All*,

How to bind a client to service if they are in different applications?

I have a simple service running in a specific .apk and try to access it from
OTHER .apk.
I already declared permission in both manifest.xml:

*Service*:
<service android:name=".AdderServiceImpl"  android:permission="*
mypackage.MY_SERVICE*" />

*Client:*
<uses-permission android:name="*mypackage.MY_SERVICE*"/>

Every time i try to access the service, i get the follow error msg:

"Not allowed to bind to service intent {comp={app.aidl,
app.aidl.MyService}}"

I already tried to use tag attributes like: exported, enabled but no success
is reached.

Does someone have any suggestion?

Regards,
Jorge.

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