On Fri, Jun 18, 2010 at 7:37 AM, Krishna Shetty
<[email protected]> wrote:
> I have created a service which exposes few AIDL defined interfaces.
> I want to access this Service from an application with different
> package.
> I have no clue how to achieve this. I want to see an example on this.

Step #1: Add an <intent-filter> on the <service> with some custom <action>.

Step #2: Use that action String when constructing the Intent for
binding to the service from the client.

http://github.com/commonsguy/cw-advandroid/tree/master/AdvServices/RemoteService/
http://github.com/commonsguy/cw-advandroid/tree/master/AdvServices/RemoteClient/

-- 
Mark Murphy
CommonsWare
[email protected]
http://commonsware.com

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