简体   繁体   中英

Sync Local Folder on SDCard on Android Device with Google Drive Programatically

I am making an app which requires syncing of my local folder on SDCard with Google Drive. I am unable to find any concrete document which can tell me how I can sync the local folder on my SDCard on the device and whether at all it is possible or not?

I have seen the documents here https://developers.google.com/drive/android/folders

and also the sample codes here https://github.com/googledrive/android-demos

I can successfully create folders and files on Google drive using its native API but I just want to know if there is any simple way to just sync the local folder stored on my SDCard to google drive programatically

I am new to Android Development and I would appreciate if someone could guide me on this

The Google Drive Android SDK doesn't include any functionality to automatically sync local folders. You would have to build that logic yourself, using the API methods available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM