D
D
dllweb2014-01-24 02:52:43
Android
dllweb, 2014-01-24 02:52:43

What is the correct approach to validate new data by an Android app?

Good day gentlemen, I'm already tired of looking for the right answer.
The task is to check for changes in an external database on the
Android Internet using an application using the API on the Apache server, of course.
Which method in the application itself should be used in your opinion?
I will clarify right away, the check interval is minimal.
I will make a reservation that, in fact, you need to somehow implement the listener, if you can call it that, but only the external one.
Everything will work in Service. This is clear to me.
Please don't deploy the GCM topic.
I look forward to your advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2014-01-24
@onepavel

The first thing that comes to mind is that the data in the database has changed on the server, the timestamp has been written down.
The application receives data with a timestamp, makes an update request with the latest data timestamp, the server checks and gives or does not give data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question