Run the SUP101Sample application on the Android emulator, and change customer information to update the interface.
The On Boarding image indicates that the application is registering and
synchronizing data from the server in the background.
SynchronizationGroup sg=SUP101DB.getSynchronizationGroup("default"); sg.setEnableSIS(true); sg.save();
When the application queries the customer list, it uses a SUP101DB.executeQuery() API to get only columns that are needed, such as (fname, lname...), instead of the entire customer object; this results in better performance.
The Submit button is mapped to the synchronize operation using SUP101DB.beginSynchronize. The synchronization occurs in the background so the user interface is not affected.
Any changes in the back end initiate notifications from the server. The device application uses a ChangeLog API, specifically GenericList<ChangeLog> changeLogs=SUP101DB.getChangeLogs(query);, to query those managed items and use them to update the user interface if needed.