Re: [android-developers] Interface for local service?

2011-09-28 Thread Mark Murphy
Just subclass android.os.Binder and use an instance of it in your onBind() method. You do not need AIDL for the local binding pattern. On Wed, Sep 28, 2011 at 8:19 AM, Matthew Fleming wrote: > My Android book, the quite massive Pro Android 3, shows an example of > a local service without an inter

[android-developers] Interface for local service?

2011-09-28 Thread Matthew Fleming
My Android book, the quite massive Pro Android 3, shows an example of a local service without an interface (aside from that necessary to start and stop the service) and a remote service with an interface defined with aidl. However, it seems that what I need is a local service with an interface, sin