I haven't worked with aidl, but just looking at the docs gives me a
good idea. Yes, you would have an interface to the service, but the
service itself is what gets defined in the manifest.

On Apr 21, 1:51 pm, WildLuka <[EMAIL PROTECTED]> wrote:
> Well, what I did was read the AIDL tutorial and run the RemoteService
> and RemoteServiceBinding examples.  The way I undestood it was that
> interfaces are interfaces to a service, and that's the thing you
> declare in the AndroidManifest.xml.  you bind to the service and
> through the ServerConnection callback you get one or more interfaces
> to the service.
>
> how would you declare an interface in the AndroidManifex.xml ?
>
> thank you
>
> On Apr 21, 9:06 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > I guess I don't quite understand. How exactly are you trying to
> > "start" an interface?
>
> > On Apr 21, 9:41 am, WildLuka <[EMAIL PROTECTED]> wrote:
>
> > > but the only service to declare would RemoteService, the class that
> > > extends Service.  Those two are just interfaces.  i didn't think I had
> > > to declare them as services in the android manifest.
>
> > > On Apr 21, 5:35 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > > > I would guess you don't have IRemoteService or ISecondary defined as a
> > > > service in your androidmanifest.xml
>
> > > > On Apr 21, 7:46 am, WildLuka <[EMAIL PROTECTED]> wrote:
>
> > > > > hi,
> > > > > I've trying to run the RemoteService example in the ApiDemo but I'm
> > > > > getting this error:
>
> > > > > WARN/ActivityManager(631): Unable to start service Intent
> > > > > { action=test.remote.IRemoteService }: not found
>
> > > > > and
>
> > > > > WARN/ActivityManager(631): Unable to start service Intent
> > > > > { action=test.remote.ISecondary }: not found
>
> > > > > can someone tell what I've done wrong ?
>
> > > > > thanks in advance
>
> > > > > luka
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to