Resolved. This was an issue with Eclipse and how it manages Java packages.
When adding the AIDL file to Eclipse you must right-click the "src" folder and select New | Package and then add the AIDL file into that package. I ran into trouble by simply creating the folder structure manually (com\mycompany\myservice) on the file system and then importing into the AIDL via Eclipse. I simply removed that manual entry, added a new package in Eclipse and Viola! Java (and Eclipse) are not my primary development areas so this might be obvious to some people. It was not obvious to me ... I posted here in hope this will benefit others. On May 1, 12:31 pm, Mark Murphy <[email protected]> wrote: > On Tue, May 1, 2012 at 3:21 PM, Freddy <[email protected]> wrote: > > Thanks Mark. I appreciate you confirming that this design is > > possible. I hoped/assumed it would be similar to other languages and > > platforms. Java/Android is not my primary development platform so I > > appreciate your assistance letting me know I'm heading in the right > > direction. The "cannot be resolved to a type" and "does not match the > > expected package" errors I've been getting must be due to some other > > issue how my project is setup. I'll work through those since the > > design is valid. > > https://github.com/commonsguy/cw-advandroid/tree/master/AdvServices > > That directory contains some samples of remote services. The > directories pair up by name (RemoteClient to RemoteService, > RemoteClientEx to RemoteServiceEx, etc.). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- 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

