Because a Parcel isn't an argument you pass through interface functions, it
is the underlying container used to transfer the function arguments.

On Thu, Aug 20, 2009 at 2:36 AM, bear tung <[email protected]> wrote:

> hi, i sent a intent to call a service interface which returns a parcelable
> object.
>
> but get errors: "return type Parcel can't be marshalled"
>
>
> #MyTest.aidl
> import android.os.Parcel;
>
> interface MyTest {
>
>   Parcel testSetRect(int a, int b, int c, int d);
>
> }
>
> why?
>
> thanks for help.
>
>
> Bear
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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