开发者

Android app: logging in using google ID?

Well hello guys.

I am in progress of creating an android app that requires you to register and login.

Now I was th开发者_JS百科inking, why register and login? Isn't it possible to automaticly login with the google account that is already on your device? Just like how you can use your google account to login to stack overflow?

So my question is: is this possible, and how?

Thanks!


I guess you could use Google's OAuth service to check if the supplied account / password combo is valid. Save the token and require them to login again if they logout, to verify the account / password again.

You could even have access to some of their Google Apps data from this point, if you wanted.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜