-
Notifications
You must be signed in to change notification settings - Fork 0
What is AIDL
Devrath edited this page Feb 14, 2024
·
4 revisions
-
AIDL
is calledAndroid Interface Definition Language
. - It acts as an interface between the server and the client.
- Both server and client agree to communicate using this interface.
- In Android normally processes do not communicate with each other.
- If we want the processes to communicate with each other, We need to convert the data to primitives that the operating system can understand and then communicate, It is complex --> The AIDL makes this process simple to achieve.
- Any method defined in your service to be accessed simultaneously by more than one applications.
- If you want to share the data from your application so that other applications access it.
- All the primitive types like
int
,char
,boolean
,long
, and so on... String
CharSequence
List<Supported data type>
Map<Supported data type>
-
Generic maps
, such asMap<String,Integer>
are not supported.