Thanks for the solution.
Now it is working fine.

solution -
interface IRemoteservice {
   Map getMapValues();
}


On Apr 1, 5:05 am, Mark Murphy <[email protected]> wrote:
> Try Map<String,CharSequence>. While you can return a HashMap, the
> interface must declare a Map.
>
>
>
>
>
>
>
>
>
> On Thu, Mar 31, 2011 at 7:59 PM, sunita <[email protected]> wrote:
> > Hi,
>
> > I want hashmap as my return type from aidl file.
> > But it is giving error as unknown return type.
> > My code is -
>
> > interface IRemoteservice {
> >   HashMap<String,CharSequence> getMapValues();
> > }
>
> > Thanks in advance.
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.0 Programming Books:http://commonsware.com/books

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