BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
371 stars 119 forks source link

Drive sync #190

Open exekutive opened 1 year ago

exekutive commented 1 year ago

Is there any way to automatically sync track files to Google Drive? If not, then I think this would be an incredibly useful feature.

GrazianoCapelli commented 1 year ago

First of all thanks for your suggestion.

Short answer: Unfortunately we chosen to not implement any accounting into the app, and at the moment we have no plan to make an exception for Google. Thus no, there is no way to sync track files with Google Drive in an automatic way. However, we keep the tracks manually syncable, without accounting, using the Share feature.

To deepen the topic, for coders: A good alternative way to do it automatically would be an automatic export into a Google Drive folder, but currently the feature is not available because Google Drive doesn't support the folder selection. We could implement this automatic sync as soon as Google will implement the folder selection, by adding Drive to the roots list of its folder picker (for ACTION_OPEN_DOCUMENT_TREE intent). But Google own cloud storage does not support API from Android Storage Access Framework by Google and, as far as I know, at this time Google has no plan to implement it for business reasons. If someone is interested to delving further: https://medium.com/steadfast-innovation/open-letter-to-cloud-storage-apps-on-android-a2d0eb919fc4