Task:
You need to write a simple Real-time application on Android. The application can be installed on any device and contains the following components:
- EditText (Enter text string)
- Button (Press the button to save the string in the database on the remote server )
- List (Update the list by adding this line on all devices where the application is installed)
Firebase type buns are prohibited .
Lecture hall:
The application will be installed on 3000-5000 devices.
Description of the problem:
I did not come across the development of such projects. The web is about using WebSocket to solve this problem. Thus, I am concerned about 2 questions, namely:
What is the best way to write a server and how to connect it with a database? It is clear that this case was in conjunction with Websocket-s. Maybe I was looking badly, but I did not meet examples of such a bundle on the net.
How to update the list on other devices where the application is installed? I understand that I need to register device IPs and send them a response from the server. Otherwise, how can I find out who needs to be updated? But is it true or not, I want to find out.
I will welcome any suggestions! Thank.