[android-developers] Re: Problem making my custom class into a Parcelable

2008-06-12 Thread Gavin Bong
Thanks Mark. On 12 juin, 18:20, Mark Murphy <[EMAIL PROTECTED]> wrote: > This is only needed for non-primitive parameters to AIDL methods. So if > the ad parameter were a float instead of an Advert, you wouldn't have > received the error. Observe that java.lang.String parameters are not required

[android-developers] Re: Problem making my custom class into a Parcelable

2008-06-12 Thread Mark Murphy
Gavin Bong wrote: > I'm getting this error when running "ant aidl". > > [apply] /data/projects2008/android/iteration1/lib/src/org/android/ > common/IAdUnitAvailability.aidl:5 parameter 1: 'Advert ad' can be an > out parameter, so you must declare it as in, out or inout. > c) IAdUnitAvailabilit