Hi,

It seems that there is no need for an .aidl file since the parcelable
declaration was automatically added to 'project.aidl' at the root of
the project.

Cheers.

On Jan 4, 2:01 pm, Jonathan DERROUGH <[email protected]>
wrote:
> Hi,
>
> I am trying to use theParcelableinterface to have an activity
> communicate with a service.
>
> Following the AIDL tutorial (http://code.google.com/intl/fr/android/
> reference/aidl.html), I implemented theParcelableinterface in
> MyClass.java and created the corresponding .aidl file (MyClass.aidl)
> containing only:
>
> parcelableMyClass;
>
> Since then, I get this error message from Eclipse (with the typo):
>
> MyClass.java is in the way of MyClass.aidl, remove it or rename of one
> the files.
>
> I don't get it, it seems that aidl trys to convert MyClass.aidl as it
> would do with a service interface although the comments in the
> Rect.aidl file say:
>
> // Declare Rect so AIDL can find it and knows that it implements
> // theparcelableprotocol.parcelableRect;
>
> Am I missing something?
> Please help!
--~--~---------~--~----~------------~-------~--~----~
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