I have an application that provides a remoteService that is defined
through an .aidl generated interface, this all works great, completely
seperate applications just need to bundle the .aidl and they can
control the service in a specific way

However I want the sevice to provide an extra API when it is bound to
the application that it ships with, which is an administrative
interface.

The administrative interface still needs to perform the usual
bidirectional communication that remoteService lets me use but with
additional calls in the api that arent provided to other packages

Since the service and activity that starts it are in the same package
I have tried various setups of singletons and static interfaces to no
avail (there is state involved so a pure static interface isnt enough)
however none of these have worked, I can get round it with various
nasty ways through Application variables / talk through the filesystem
however I was wondering if it was possible in a cleaner way.

Thanks
Dale Harvey

-- 
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

Reply via email to