Sharing Budget Calendar Data Files between Android and Desktop versions.
New Google Drive API -- REST
Google has introduced a new Google Drive API v2. Developers like myself must change the code to use the new API by the end of 2019. The sharing procedure has changed.
⚠ CREATE A BACKUP COPY of YOUR DATA FILE(S)
Sharing your Android data file
- Start Budget Calendar on the phone
- Application Menu ⋮ → File
- In the File dialog, click on the data file you want to share and then click on 'Save to Google Drive'
- ⚠ You now have *two* copies of the data file. One on the device and one on Google Drive.
- Click on the GOOGLE DRIVE on the top of the File dialog, and choose the just saved file in the Google Drive dialog.
- Wait for the data to be synced to the other device(s).
- Open the budget (.bgt) file on the Desktop from the Google Drive folder via File → Open in the application, or by clicking on the .bgt file in the System's File Explorer/Finder.
- The data file is now shared between Desktop and Android.
Sharing your Desktop data file
Due to Google Drive API changes the data file (.bgt) MUST BE created by the Android application.
Option 1 -- easier
- Copy your .bgt date file to the Google Drive folder on your desktop.
- Use Google Drive App on the phone and download the .bgt file onto the phone into /Download
- Run Budget Calendar app on the phone
- Navigate to the app's File dialog.
- Make sure Access Permissions to /Download are granted!
- The downloaded file should appear on the bottom on the dialog in the /Download.
- Rename the downloaded file to budget-shared.bgt
- Use the 'Sharing your Android data file' procedure on this .bgt file (see above).
Option 2 -- more difficult
- Create a new data file on an Android device.
- Rename it to something that is easy to distinguish and is different from the file name on the Desktop. For example budget-shared.bgt
- Use the 'Sharing your Android data file' procedure on this .bgt file (see above)
- On the Desktop, start Budget Calendar with your original data file, and
- use File → Save as → navigate to the Google Drive folder, and choose the file to overwrite, in this example it is budget-shared.bgt
- Now you can use budget-shared.bgt on your devices.
⚠ SIMULTANEOUS (AKA REALTIME) EDITING OF THE SAME DATA FILE IS NOT SUPPORTED. THE LAST EDITED/SAVED FILE PREVAILS.
Please send your questions to firstname.lastname@example.org.
Make sure to put 'support' into the Subject line, if omitted the message will be discarded.