You have to compile the generated AIDL interfaces into each application, and make sure the service is exported with android:exported="true" if it doesn't declare any intent filters.
You didn't actually say what exact problem you are hitting, though, so I can't offer much more help than that. On Fri, Feb 6, 2009 at 4:44 AM, Android <[email protected]>wrote: > > Hello All.... > > I have one query regarding how to use the services of different APK in > my APK. Suppose i have created APK1 having services(serv1, serv2) and > APK2. I want to invoke the serv1 in APK2. I have tried by using aidl > files also. > > These my question: > - How we can access services of different .apk. > - How to use the aidl file, is the aidl file should be added in > the .apk whose service we want to use. > > I have gone through the below links, but couldn't find any concret > idea of how to impliment. > http://code.google.com/android/reference/aidl.html > http://minicompact.com/mobiletalk/?tag=android-service > http://minicompact.com/mobiletalk/?p=18 > http://code.google.com/android/reference/android/os/IBinder.html > > It would be appreciable If someone answer my question. > > -Kumar > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

