Dear Yana
There is a very good example in Version 7. Please follow these instructions to find example.
Click on Example folder under help tab.
Click on "1 - Data Entry" and you find folder name "Synchronization In Logic"
copy this folder some where else in your system.
Explore this folder and run Menu under Menu Folder
In the logic window you will find this syntax
Code: Select all
function syncWithHeadquarters()
// Connect to server
// Change the URL to match your server
if syncconnect(CSWeb, "http://www.myserver.org/api") = 1 then
just replace this syntax with dropbox:
Code: Select all
function syncWithHeadquarters()
// Connect to server
// Change the URL to match your server
if syncconnect(Dropbox) = 1 then
Save this programme and close it.
. Double click on the file CreateDeployment.bat to generate the Deployment folder
. You will find folder "Synchronization in Logic" under Deployment. Copy this folder to the Dropbox
. If running on Android, copy the folder "Synchronization in Logic" to the csentry folder on the Android device
. Run the menu application, login as interviewer, choose "enter data" and enter some cases
. Run the menu application, login as supervisor, choose "Sync with headquarters" to synchronize with the Dropbox
You can read all these information in the file "readme".
I hope it works for you.
Regards;
a.