Try switching to:

Map success();

It may be that Map does not support out properly. I have never used
the out keyword in AIDL, as it leads to scary programming (relying on
side-effects applied to parameters).

On Mon, Oct 31, 2011 at 9:52 PM, randyv2 <randythech...@gmail.com> wrote:
> I have an AIDL written as follows:
>
> interface IGameInterfaceResult {
>        void success(out Map result);
> }
>
> In the generated .java file, I see this being generated:
>
> _arg0 = new java.util.Map();
>
> This leads to my project having errors because Map can't be
> instantiated.  This seems like a bug in the AIDL tool, but my googling
> hasn't resulted in anything useful regarding this error.  Does anybody
> have suggestions on what I should try doing to resolve this problem?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to