Instructions to Sync with Google Drive

MMEX4Android, Google Play, and F-Droid

Moderator: Renato

guangong
Developer
Posts: 658
Joined: Wed Dec 21, 2011 5:58 am
Are you a spam bot?: No

Re: Instructions to Sync with Google Drive

Post by guangong »

Thanks for sharing google drive client information

1. Sync is bi-directional while upload/download is force and single directional as self-explanatory.
2. It is synced/fetched periodically instead.

Actually sync is a plugin instead of built-in function as one key is to 100% control your data locally. One recommended setup is device storage + whatever your preferred synching tool
ParadigmShifter
New User
Posts: 10
Joined: Sun Nov 03, 2024 5:38 pm
Are you a spam bot?: No

Re: Instructions to Sync with Google Drive

Post by ParadigmShifter »

Answering my own question: I finally understood how to sync bidirectionally between Android and Windows via Google Drive.

Observations and comments:
  • DO NOT leave MMEX open at the same time on Windows and on Android. Leave only one instance of it open at a time
  • DO NOT use "Synchronize"
Here is the step by step that I used.

From Windows to Android:
  1. Make sure MMEX in Android is NOT running
  2. Make the desired operations in MMEX file in Windows. Then, close MMEX when finished. MMEX will then proceed to update the database in Google Drive. Wait for the upload to be complete
  3. After the upload is complete, open the Google Drive in Android and download the changes
  4. After fetching the changes in the Google Drive app on Android, open MMEX on Android. The database should be updated with the latest changes without the need to do anything else!
From Android to Windows:
  1. Make sure MMEX in Windows is NOT running
  2. Make the desired operations in MMEX in Android. Then, go to "Settings -> Synchronization -> Upload". Wait for the upload to be
    complete.
  3. After the upload is complete, open the Google Drive app on Android and fetch the changes.
  4. On Windows, make sure that the changes have been fetched by Google Drive.
  5. Open MMEX, choose "Open Existing Database" (even if the last opened database was the one you were using). The database should be updated with the latest changes without the need to do anything else!
I know that this method is cumbersome, but after two days fighting with the synchronization this finally seems to work.
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Instructions to Sync with Google Drive

Post by frankieorabona »

@ParadigmShifter I confirm that with this method you are able to have smooth file synchronization.

I think obviously not having the two programs open at the same time was a priority since I don't think the MMEX program can, via google drive, merge the real-time changes made by either side.

However, compared to your guide I had to disable synchronization at startup in the android app because at startup, the program would always crash. I was forced to restart the phone to get MMEX ANDROID working again.

Who is online

Users browsing this forum: Claude [Bot] and 1 guest