Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

4) File Synchronization Setup

Corey B3nn edited this page Apr 11, 2017 · 2 revisions

File Synchronization

Divertsy writes its data to the "/sdcard/Documents/" folder on the tablet. This directory location should be accessible to any application with "External Storage" permissions on the Android tablet. This should allow support for any 3rd party syncing application. We recommend using FolderSync on the tablet since this also supports a number of 3rd party services such as DropBox, Box, OneDrive, S3, and others.

Note: The Documents folder where data is saved may not exist on your tablet until after running the Divertsy client and recording at least one data point.

Sync with Google Drive

Divertsy does include limited built-in syncing options with Google Drive. This feature will only work on devices with Google's built in Google Mobile Services which are not included on devices such as the Amazon Fire Tablet. If the sync setting is enabled, Divertsy will upload a CSV file to the root of the Google Drive user's account. After the first save, the file can be moved to a new folder and renamed using the Google Drive application. Since Divertsy holds on to the resource identify, the same file will be updated even after it is renamed and/or moved.

Note: If you building the client from source, you will need to register your signing key with Google in order to use the built in Drive integration. See the Building from Source section for details.

It has been noticed, if you move the Divertsy file in Google Drive to the trash, but do not permanently delete the file, it can still get updated by the client. You will need to unlink the account in Divertsy's sync setting in order to prevent it from trying to update the file.

If the Divertsy data file is opened in Google Sheets, a copy of the csv data will be made and placed in a new file which may have the same name as the upload data file. Yes, this is confusing. We recommend renaming the sheets version of the file which often has a green icon verse the blue icon for the drive files. The sheets version will not get automatically updated, however the drive version of the file will be if this option is selected in the Divertsy application. The Google Drive account and file can be unlinked in the Sync settings of Divertsy.

Drive Data

Alternatively, the share button inside the Divertsy application will allow you to share the CSV file with other Android apps which can handle CSV data. This can be used to select an email client and send a copy of the collected Divertsy data. The exported data will always all contain all collected data points, not just the ones since the last shared event.

Send CSV File

Clone this wiki locally