you can find the code here:
RemoteServiceBinding.java
http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/RemoteServiceBinding.html

RemoteService.java
http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/RemoteService.html

Thank you !

On Apr 22, 7:48 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> This sounds like the same issue I helped with a day or two ago. The
> code you posted looks like it handles callbacks from theservice. I'd
> guess that has nothing to do with the problem. It'd be more helpful I
> think to see all your code since there is a lot more going on in the
> remoteserviceexamples than what you have posted. But like I said
> before, it looks like you are trying to start aservicethat is
> actually an interface and not aserviceimplementation. Really, I'd
> have to see more code to point out where you are doing that.
>
> On Apr 22, 3:14 am, WildLuka <[EMAIL PROTECTED]> wrote:
>
> > sure, I have simply followed the RemoteService and
> > RemoteServiceBinding example, declaring aidl interfaces.  Mind you I'm
> > running on windows and not sure whether that migth be the culprit.
> > When I first tried to use aidl's I declared my own interfaces but I
> > realized something went wrong, so I switched to the example provided
> > in the documentation.  To my dismay, the result was the same.
> > I get a warning for both IRemoteService and ISecondary interfaces.
>
> > here are the interfaces declared:
>
> > package test.remote;
>
> > import test.remote.IRemoteService;
> > import test.remote.ISecondary;
>
> > interface IRemoteServiceCallback {
> >    void valueChanged(int value);
>
> > }
>
> > package test.remote;
>
> > import test.remote.IRemoteService;
> > import test.remote.IRemoteServiceCallback;
>
> > interface ISecondary {
> >         int getPid();
> >         void basicTypes(int anInt, long aLong, boolean aBoolean,
> >                 float aFloat, double aDouble, String aString);
>
> > }
>
> > package test.remote;
>
> > import test.remote.IRemoteService;
> > import test.remote.ISecondary;
>
> > interface IRemoteServiceCallback {
> >    void valueChanged(int value);
>
> > }
>
> > WARN/ActivityManager(508): Unable to startserviceIntent
> > { action=test.remote.IRemoteService }: not found
>
> > WARN/ActivityManager(508): Unable to startserviceIntent
> > { action=test.remote.ISecondary }: not found
>
> > Many Thanks !
>
> > Luka
>
> > On Apr 22, 12:35 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>
> > > Hi Luka,
>
> > > Could you provide your relevant code here to help understand your issue 
> > > and
> > > debug it further?
>
> > > Thanks,
> > > Megha
>
> > > On Sun, Apr 20, 2008 at 4:06 PM, WildLuka <[EMAIL PROTECTED]> wrote:
>
> > > > hi,
>
> > > > I'm getting this error:
> > > > WARN/ActivityManager(515): Unable to startserviceIntent
> > > > { comp={test.test/test.test.IRemoteInterface} }: 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 Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to