Thanks a lot Mark! And sorry about the package thingy... Since the names were the same i thought they were the same packages. Making a new package with the SAME NAME as the AIDL was in in the previous application and copying the AIDL file in to that package solves the problem. Thanks again for the help.
Cheers! Prafull. On Apr 20, 4:50 pm, Mark Murphy <[email protected]> wrote: > madmax wrote: > > The interface (AIDL) for > > communication between the activity and theserviceis defined in > > another package in another application. How can i now access this SAME > > interface for communicating with theservicefrom my new application? > > You copy the AIDL file, put it in the same package as in the old > project, and use it in your new project. In the links I provided > earlier, you will see that the IScript AIDL file resides in both projects. > > > Here Mark has given some examples, but am not very clear as to how the > > same interface will be used "across"applications. The examples above > > have the client in another package and theservicein the other but > > both packages in the SAME application. > > No, they don't. They are two separate Androidapplications, with two > separate APK files, two separate manifests, two separate source trees, > and two separate copies of the same AIDL file in the same package. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.0 > Available! > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

