I currently have 2 apps in the market, let’s call them app A and app B.
When a certain function is executed in app, I need something to trigger an event in app a, even if app a isn’t currently running. I assume app B would send a broadcast message to app a and app a would need a broadcast receiver but I am not sure how this can be done, if it can be done.
There are basically two ways afaik:
or by using Intents:
Use intents if the calling app should dissappear and the called app should be in foreground and use broadcasts if you just want a background task performed by another app