We are planning to link our app with another person's app, and we would like to know, how would we be able to in Android for our app to send data to that other person's app without bringing the other app to the foreground?
Would this solution work?: How to Send BroadCast from one app to another app
I would like to know for sure before I proceed.
Yes. Send your data using a broadcast Intent and implement a BroadcastReceiver on the receiving app. This will not automatically bring the receiving app to the foreground.
Intent
BroadcastReceiver
1.4m articles
1.4m replys
5 comments
57.0k users