CodePudding user response:
It depends on you are communication across applications, or application of communication within theCross reference: AIDL, BroadcastReceiver, Messenger
Application: inside the SharedPreferences, singleton, interface callback, EventBus, etc
CodePudding user response:
Is the same process, to achieve two main service can send messages, and can return a value