What is not true about a binder service?
There may be situations where both client & server will be in the same process.
In case if client is in different process and service(Server) is in different process, then we should always use aidl to implement it.
Option 2 can also be implemented with Messenger class in case if we want to write single threaded service.
Binders internally uses Parcels.
If client and server are in different processes, then there are two ways to implement service. 1.creating a singled threaded server using Binder and Messenger or 2. Creating multi threaded server using aidls.
Back To Top