I want hashmap as my return type for a method from aidl file.
But it is giving error as unknown return type.
My code is
interface IRemoteservice { HashMap<String,CharSequence> getMapValues(); }
I want hashmap as my return type for a method from aidl file.
But it is giving error as unknown return type.
My code is
interface IRemoteservice { HashMap<String,CharSequence> getMapValues(); }
I got the solution from google groups. And now it is working fine. Solution is we have to declare Map in aidl file.
interface IRemoteservice { Map getMapValues(); }