如何在Android中获取我的谷歌驱动器帐户的授权码? [英] How to get Authorization code of my google drive account in android?

查看:131
本文介绍了如何在Android中获取我的谷歌驱动器帐户的授权码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Google Developer Sample Project 构建应用程序。[ ^ ]根据本教程,我将获得授权码从浏览器,将稍后将其放在我的应用程序中。但我不想这样工作。我需要直接获取授权码。实际上我想通过按钮点击事件将文件上传到Google云端硬盘帐户。应该在按钮点击事件中隐藏所有内容。

I am building an application using the reference Google Developer Sample Project.[^] According to this tutorial i will get an authorization code from browser and will put it later in my application.But i don't want to work like this. I need to get the authorization code in direct way. Actually I want to upload file to the Google Drive account with a button click event. Every thing should be done hidden inside button click event.

推荐答案

这篇关于如何在Android中获取我的谷歌驱动器帐户的授权码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆