I would guess in Eclipse you need to either add a dependency from your client project to the service project so that the service classes show up on the classpath of the client app.. so it can see the classes to use them. Or, like you said, jar it up and stick it some place within the client app so it can be used. The client app classloader needs to be able to see the bytecode of the interface of the service in order to know how to use it (load it).
On Nov 12, 5:29 am, igar <[email protected]> wrote: > Hi > > I have an eclipse project with a remote service that exports an API > (defined in a aidl file). I have another project that implements a > "client" that wants to call the remote service API. > > When trying to run the "client" it crashes and Android complains: > > "Unable to resolve superclass of Lse/remoteserviceclient/ > RemoteServiceClient" > > My question is this: > > What is the correct way of calling a remote service in a different > application? > The 'service project' is on the build path of the 'client project'. > > Do I need to export the service application into a jar file and > include in the client project? > > Thanks, > igar -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

