I need to communicate with a remote service, using (greenrobot) EventBus. Unfortunately, it does not seem to work with IPC. Looking at the code, I don't see a workaround either. Any help would be appreciated !
Bonus question - are there any other EventBuses (for Android) which support IPC ?
I need to communicate with a remote service, using (greenrobot) EventBus.
The entire point of greenrobot's EventBus, like Square's Otto and LocalBroadcastManager
, is to not use IPC.
Any help would be appreciated !
Don't use greenrobot's EventBus for IPC. Use one of Android's myriad IPC mechanisms for IPC:
startActivity()
startActivityForResult()
startService()
bindService()
sendBroadcast()
and its variations (e.g., sendOrderedBroadcast()
)ContentProvider