Run the SMP101Android application on the Android emulator, and change customer information to update the interface.
The
application activation (on boarding) image indicates that the application is
registering data from SAP Mobile Server.
SynchronizationGroup sg=SMP101DB.getSynchronizationGroup("default"); sg.setEnableSIS(true); sg.save();
When the data finishes synchronizing, the device application shows the SMP101Android application with a list of customer data in a ListView control. You can scroll through the customer list to see more data and to make changes. The data loads from the database on demand.
When the application queries the customer list, it uses an SMP101DB.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 SMP101DB.beginSynchronize. The synchronization occurs in the background, so the user interface is unaffected.
GenericList<ChangeLog> changeLogs=SMP101DB.getChangeLogs(query);