简体   繁体   English

在Android应用程序中注册Google凭据

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

相关问题 在 Android 应用程序中使用 Gmail/Facebook 凭据注册 - Registration with Gmail / Facebook credentials in an Android app Android应用程序登录和注册错误 - Android application login and registration error 应用程序默认凭据不可用。 如果在 Google Compute Engine 中运行,它们就可用。 否则 - java android - The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise - java android 在Google Developer Console上注册Web应用程序 - Registration of web Application on google developer console 凭据Java应用程序连接到Google Cloud DataStore - Credentials Java application connect to google cloud datastore 在 Spring 中设置 GOOGLE_APPLICATION_CREDENTIALS - Setting GOOGLE_APPLICATION_CREDENTIALS in Spring 如何定义 GOOGLE_APPLICATION_CREDENTIALS? - How to define GOOGLE_APPLICATION_CREDENTIALS? 找不到 GOOGLE_APPLICATION_CREDENTIALS - GOOGLE_APPLICATION_CREDENTIALS can't be found Google Dialogflow:应用程序默认凭据不可用 - Google Dialogflow: The Application Default Credentials are not available 如何为Google Compute Engine设置GOOGLE_APPLICATION_CREDENTIALS? - How to set GOOGLE_APPLICATION_CREDENTIALS for Google Compute Engine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM