I need a connection between the server and Android. Starting with Android, I need to send my current location coordinates to the server every 10 minutes. I can send a message or image to the server at any time. Similarly, from the server, I want to send data to Android as needed.
What should be the architecture of my application.
Communication with Android on the server and Server to Android is independent of each other, I should not ask about it as a two-way communication, but at the same time I want to communicate on both sides with each other at any time.
Should I use a web service of any type or just network sockets or something else.
source share