I have three Android Projects in Eclipse:
App A (hosts a Service)
App B (uses Service from A)
AIDL (definition and some custom parcelables)
APP A launches APP B. APP B uses an Service via AIDL from APP A. Works well so far. The Problem is that custom parcelable Objects are not seen in APP B. It always results in and ClassNotDef Error.
I never seen such a szenario in any Example as their always much easier than my scenario. It seems eclipse is not adding the custom Parcelable files into APP B from the AIDL Project. I do not know why, but the generated Java files contain the correct Parcelable references, but their missing in the AIDL project.jar or /bin folder.
I've read about copy the AIDL files around, but to be honest this is the least i want to do as ths violates having an good project structure.
We also use maven for the build on our CI Servers, and there the Generated Java Classes and the custom Parcelables are in my APKLIB Project as expected.
To me it looks more like an Eclipse Problem than anything else as maven compiles and runs the project as expected.
Anyone can provide me an hint to setup such a scenario that can be started from with in Eclipse ?