[英]Registration with Google Credentials In an Android application
I want my users to register in my Android app with a Google username & password. 我希望我的用户使用Google用户名和密码在我的Android应用中注册。 How can I do this?
我怎样才能做到这一点?
Can anybody provide sample code for it or can explain it Step by Step. 任何人都可以为其提供示例代码,或者可以逐步解释它。 I went through many documents but didn't find any solution for it.
我浏览了许多文档,但没有找到任何解决方案。
The main thing you can use is Google+ Sign In . 您可以使用的主要功能是Google+登录 。 Alternatively, you can use the basic Google OAuth2 flow, though that's harder to integrate (the AccountManager makes it look somewhat user-hostile as well).
另外,您也可以使用基本的Google OAuth2流,尽管很难集成(AccountManager也使它看起来有些用户敌视)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.