DroidDB Tip of the Month

DroidDB® Tip for January 2020

Manually Changing the Synchronization Settings

Say you have an application called MyApplication. The application is stored in a folder called MyApplication on the handheld. In that folder there is a file called MyApplication.ini. That is where the synchronization settings are stored.

When the handheld is connected to the desktop, you can use DroidDB's FILE | SYNCHRONIZE to adjust these synchronization settings.

Alternatively, you can edit MyApplication.ini directly using a text editor such as notepad.

*** IF YOU DO DECIDED TO EDIT MyApplication.ini, MAKE A BACKUP COPY OF IT FIRST ***

There are three types of lines of interest in MyApplication.ini:

  • DataSource=...
  • Database=...
  • Synchronize=...

Desktop DroidDB's FILE |SYNCHRONIZE | DESKTOP DATA SOURCE is stored in the DataSource=... setting

Desktop DroidDB's FILE |SYNCHRONIZE | DESKTOP DATABASE is stored in the Database=... setting

The table synchronization operators (<-->, <---, --->, etc.) are stored in the Synchronize=... setting


You may notice that there may be lines in MyApplication.ini that look like this:

  • DataSourceXYZ=...
  • DatabaseXYZ=...
  • SynchronizeXYZ=...
where XYZ is the name of a handheld. If MyApplication is on handheld XYZ and is synchronized, the DataSourceXYZ= setting is used if there is one (rather than the DataSource= setting). The same hold true for the Database= settings and Synchronize= setting. Why do we do this? Because this lets the DroidDB developer specify different synchronization settings for different handhelds without having to actually connect the different handhelds to the desktop.


If you want all handhelds to use the same synchronization settings, remove the DataSourceXYZ=, DatabaseXYZ=, and SynchronizeXYZ settings from the MyApplication.ini

 

Back to List »

Visit our store

Top rated! I needed a solid database application development tool for mobile devices. I chose DroidDB for Android OS because it provided a way to get a strong product to market quickly. DroidDB is relational, gives me control over form layout, handles macros, and supports events. It works on all Android versions I have tried and is a great companion product to SYWARE’s VisualCE.

Mark Read, President
SyntegraTech, Inc.

signup for our newsletter