I am working on an app that would send little bits of information to and from another device running the same app, very similar to a messenger. Right now, while testing other aspects of the app, I'm just using text messages, but obviously that's a bad idea in the long run.
The process my app takes is:
- Phone A sends a request to Phone B
- Phone B does whatever processing it needs to do, based on the received data (done)
- Phone B sends a response to Phone A
- Phone A does whatever processing it need to do, or alerts the user (done)
- Possibly add the same features to send data to Phone B from a pc, but that's not important. It would only be used if possible based on the method the phones use.
I do have access to a server that someone suggested I could write an API on, but I'm not very familiar with that, and I want to make sure that users wouldn't have to re-enter any IP addresses or anything else to connect to the service.
Edit
Apparently my question wasn't clear enough. I want to know how to go about doing this. What service would I need to use, or what already exists that I can utilize?