如何在Android应用程序中验证Gmail凭据? [英] How can I authenticate Gmail credentials in my android application?
本文介绍了如何在Android应用程序中验证Gmail凭据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试开发自己的Android电子邮件客户端。为此,我需要创建一个登录页面,用户将使用他的gmail凭据登录。我查了一下但最终得到了gmail登录,其中应用程序将直接验证设备的当前用户(使用播放服务)。我如何像在k-9邮件等电子邮件应用程序中手动验证用户..?
解决方案
转到显而易见的地方:https://developers.google.com/gmail/api/?hl=en [ ^ ]。
检查
使用gmail Api验证
[ ^ ]
另一个样本
[ ^ ]
Alo使用上述解决方案为您提供大量资源:
如何使用Gmail帐户在Android中验证应用程序? - 堆栈溢出 [ ^ ]
android - 使用Gmail凭据登录 - Stack Overflow [ ^ ]
I am trying to develope android email client of my own. For that I need to create a login page where user will login using his gmail credentials. I looked up for same but ended up with gmail login where application will directly authenticate current user of device (using play services). How do I authenticate user manually like we do in email applications like k-9 mail..?
解决方案
Go to the obvious place: https://developers.google.com/gmail/api/?hl=en[^].
Check
Auth using gmail Api
[^]
Another Sample
[^]
Along with above solution a bunch of resources for you:
How to use Gmail account to authenticate the app in android? - Stack Overflow[^]
android - Login using Gmail credentials - Stack Overflow[^]
这篇关于如何在Android应用程序中验证Gmail凭据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文