Answer the question
In order to leave comments, you need to log in
How to automatically update data in an Android application?
Hello! I'm trying to create an application to work with the Mysql database, the catch is that I need an alert when a new record appears, but a new record appears only after manually refreshing the screen. Maybe somehow you can do it automatically with an interval, or with sockets. I would be grateful for useful links to lessons and articles.
Answer the question
In order to leave comments, you need to log in
You can make a service that will knock on the database at a certain interval, something like this:
https ://xjaphx.wordpress.com/2012/07/07/create-as...
people", then I recommend paying attention to how Google itself advises solving such a problem: https://habrahabr.ru/post/240543/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question