4

In android how can I authenticate the user by Gmail account. Is their any api or support available for android.

Thanks...

Ujjwal Bansal
  • 289
  • 1
  • 4
  • 24

3 Answers3

5

Yes, you can use OAuth in Android. There's a fairly detailed post on this:

There are also two other Java libraries that you might consider for this purpose:

Michael Aaron Safyan
  • 93,612
  • 16
  • 138
  • 200
2

Take a look at my answer here: https://stackoverflow.com/a/10245999/350691 Hope it helps!

Community
  • 1
  • 1
fwal
  • 67
  • 7
2

Are you asking how to authenticate user in your android app?

You can create a gmail client to authenticate user based on their gmail a/c but This is a unsupported in android sdk.

Dori
  • 915
  • 1
  • 12
  • 20
Vineet Shukla
  • 23,865
  • 10
  • 55
  • 63