Thanks Nikolay the Google Play services seems half implemented to me :-(
I'm already asking for the Google Play permission, I don't really want to also be asking for AccountManager access just to find out some kind of identity for the person that has purchased the item. I don't even need a global identity, I just need an identity unique to my app. re: OAuth2 on Android - isn't that already available? http://code.google.com/p/google-api-java-client/wiki/OAuth2#Android William On Tuesday, August 28, 2012 3:38:02 PM UTC+10, Nikolay Elenkov wrote: > > On Tue, Aug 28, 2012 at 1:53 PM, William Ferguson > <william.f...@gmail.com <javascript:>> wrote: > > > > I *will* be authenticating to AppEngine, but to do so via a web service > you > > need to pass that auth along with the http request, which means you need > to > > gather it on the Android device first, which leads back to the top. Or > did I > > miss something? > > > > Right. You can either get only the email (Google account) from > AccountManager > or use the email to get an authentication token for a Google service, > such as GAE. > (this needs yet more permissions). If you pass the auth token, the GAE > User > service can extract the identity from it so you don't need to pass > identity info > separately. The tricky part here is that the authentication that > currently works > (ClientLogin with the 'ah' service name) is currently deprecated, and > the library > to get the new-style (OAuth2) token has not yet been released (Google Play > Services). That said, it should work fine with ClientLogin for now > (deprecation > period is 1 year). > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en