【发布时间】:2014-07-24 00:43:28
【问题描述】:
在我的 android 应用程序 中,我可以通过 Google+ 登录并获取信息。 虽然我是安卓新手。
现在我想从 Google 获取 访问令牌 并将其发送到我的服务器。
我该怎么做?如果可能,请提供一些代码。因为我是一个初学者,希望用简单的术语来解释。
【问题讨论】:
标签: android google-plus access-token google-login
在我的 android 应用程序 中,我可以通过 Google+ 登录并获取信息。 虽然我是安卓新手。
现在我想从 Google 获取 访问令牌 并将其发送到我的服务器。
我该怎么做?如果可能,请提供一些代码。因为我是一个初学者,希望用简单的术语来解释。
【问题讨论】:
标签: android google-plus access-token google-login
有another answer that covers getting the access token in Android。
注意:
1) 确保在后台任务中从 UI 线程中获取令牌 2) 确保您检查的帐户正确
【讨论】: