简体   繁体   English

使用 Google 登录从 Android 设备将文件上传到 Google Drive

[英]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.

相关问题 使用Android将文本文件上传到Google云端硬盘 - Upload text file to Google Drive using Android 将文件从Android应用上传到Google驱动器 - Upload file from android app to google drive 如何使用 Google Drive API 从 android 将加密的图像文件上传到 Google Drive - How to upload encrypted image file on google drive from android using Google Drive API 在 Android Studio 中使用 Google Drive API 从驱动器下载文件以上传到另一个驱动器 - Download file from drive to upload into another drive using Google Drive API in Android Studio 无法使用教程将文件上传到Google云端硬盘(Android上为Drive App) - Unable To Upload File to Google Drive Using Tutorial (Drive App on Android) 如何使用python代码将Android上的文件上传到Google云端硬盘 - How to upload file on android to Google Drive using python code 如何使用我的Android应用程序在Google驱动器上上传文件 - How to upload file on google drive using my android application 简单示例将文件从android上传到Google驱动器 - SIMPLE sample upload a file from android to google drive 从Android应用上传Google Drive Sqlite数据库文件 - Google Drive Sqlite db file upload from android app 如何将文件从 android 上传到谷歌驱动器 - How do I upload file to google drive from android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM