Question

I'm developing app for android and I want it to have login through accounts that are saved on user's phone.

I have found this article: https://developers.google.com/google-apps/tasks/oauth-and-tasks-on-android

which was helpful but in this example I have to ask for permission for some kind of API (task, lattitude ...). All I need is just simple login to my service without need to redirect to some website and filling up password etc...

What would you suggest?

Thank you

No correct solution

OTHER TIPS

I depends on what you mean by 'login'. If you really want to use the Google account for authentication, you need to integrate OAuth or OpenID in your app and use Google as the identity provider (StackOverflow does this: you can login with your Google account) in your site/webapp. If you only need to get the user's GMail address, you can get it using the account manager. Since they need to authenticate at least once for it to show up in the list of accounts, you can be reasonably sure that it is really their address.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top