I am trying to sync data between android application and php server.
In my application, I use json webservices to get data from php server.
Now that there are new fields added to the php server database, my application should immediately reflect this.
The types of background services that we look at each time for new data in the php server database.
How can i do this?
If you need it immediately, you should use GCM .
This offer is on the GCM homepage:
Android Android-. , ,
, , GCM ( - GCM). , GCM . , .
, : "" GCM, , , , GCM.
SyncAdapter, . http://developer.android.com/training/sync-adapters/index.html
Source: https://habr.com/ru/post/1533131/More articles:PySerial: how to understand that a timeout occurred while reading from a serial port? - pythonСмешивание событий Javascript и Mouse в Paper.js - javascriptИспользование composer.json в Symfony 2.0 - symfonyJavaFX WebView not working using weak SSL certificate - javaiOS: scaling UIScrollView does not work programmatically - iosDraw text on scroll bar - qtWhy should I use SqlCommand.CommandType = StoredProcedure? - c #Xcode using incorrect localization - iosApplication to download Android - androidColor Gradient Algorithm - algorithmAll Articles