[英]Google Drive api android how to login and logout from my drive account with hard code without user interaction?
In my drive app registration activity when user put his/her email-id and hit register i want to login to my google drive account i will give email id,password login and share some files with user's given email-id and logout .在我的驱动器应用程序注册活动中,当用户输入他/她的电子邮件 ID 并点击注册时,我想登录到我的谷歌驱动器帐户,我将提供电子邮件 ID、密码登录并与用户给定的电子邮件 ID 和注销共享一些文件。 And then start home activity.然后开始家庭活动。
I know about drive account picker but not getting how to login and logout with hardcode.我知道驱动器帐户选择器,但不知道如何使用硬代码登录和注销。 and also to login how to give my password because user will be unaware of all these things i cannot use account picker.以及登录如何提供我的密码,因为用户将不知道我无法使用帐户选择器的所有这些事情。 After logging out my account details should not be there in user's mobile account manager, gmail or anywhere else.注销后,我的帐户详细信息不应出现在用户的移动帐户管理器、gmail 或其他任何地方。 Any one suggest how can i achive this or any alternative way to do it.任何人都建议我如何实现这一目标或任何替代方法。
In simple words简单来说
I doubt this can all be done on Android.我怀疑这一切都可以在 Android 上完成。 You will need to create a web app to do the sharing.您将需要创建一个 Web 应用程序来进行共享。
So ..所以 ..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.