[英]Upload a file to Google Drive using Google Sign In from Android device
I am trying to build an standalone app to upload a file from my Android device to Google Drive.我正在尝试构建一个独立的应用程序来将文件从我的 Android 设备上传到 Google Drive。 I am trying to integrate Google Sign-In for the same.我正在尝试集成 Google 登录。 I have followed the steps in the following link: https://developers.google.com/identity/sign-in/android/sign-in我已按照以下链接中的步骤操作: https://developers.google.com/identity/sign-in/android/sign-in
After sign in is successful, I am unclear about the steps to upload a file from device.登录成功后,我不清楚从设备上传文件的步骤。 Can anyone please guide me with the steps with an example?任何人都可以通过示例指导我的步骤吗?
Thanks in Advance.提前致谢。
As Drive Android API is deprecated as of December 6, 2018 and will be turned down on December 6, 2019 so apps must migrate to the Drive REST API or another suitable solution to avoid disruptions. As Drive Android API is deprecated as of December 6, 2018 and will be turned down on December 6, 2019 so apps must migrate to the Drive REST API or another suitable solution to avoid disruptions.
Google has provided sample apps on how to use the drive API which you can find here . Google 提供了有关如何使用驱动器 API 的示例应用程序,您可以在此处找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.