Upload files using Android Google Drive api?

Asked 2 years ago, Updated 2 years ago, 27 views

Google official documents and

https://github.com/gsuitedevs/android-samples/blob/021e756d763614d1f57c953083f8392f7189b686/drive/demos/app/src/main/java/com/google/android/gms/drive/sample/demo/CreateFileActivity.java

Writing and posting in a text file using this source was successful

I just want to upload the file, but I can't find the example

I don't know how

Does anyone know? ㅠ<

No matter how many times I search for it, I don't know

The purpose is to upload a backup db file, but there is nothing related to it in the official demo file.

Masters, please help me~~~

android

2022-09-22 19:36

1 Answers

If you look at the Google Drive API document , a simple upload can be done by simply adding an access token and sending a POST request. Would that be helpful?


2022-09-22 19:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.