Can Messenger (lightweight alternative to AIDL) be used for cross-application communication?
- 阅读更多 关于 Can Messenger (lightweight alternative to AIDL) be used for cross-application communication?
问题 A quick question: the Android docs say very clearly that Messenger is an alternative for AIDL for IPC (inter process communication). They never explicitly say though if this extends to processes running in different applications, or just within one app. I strongly suspect the former, but wanted to check. Thanks! Jan 回答1: AIDL is only really used for inter-app IPC. While it is possible to use AIDL for internal communication, it doesn't buy you anything and puts limitations on your Binder