javaandroidreal-timecommunication

How to make an app communicate with with another one in real time?


I am college student, developing an android app on multiplayer game like online chess and ludo. I know it is broad question, but any help regarding code will be appreciated.

Basically I want to know how to make app communicate with each other (minimum 3 android app). I searched over internet but didn't get any code snippet regarding this. In other words, app should send information about its player's response and position, and it should be displayed on other 2 players in real time. Please also send me with code for server and help regarding it. Any architecture of communication over internet will be helpful.

IDE - Android studio (java)


Solution

  • You can use Firebase Firestore, it will keep your data in sync across client apps through realtime listeners https://firebase.google.com/docs/firestore