Thanks for the class, looks pretty good.

Question though, as far as I'm aware, theres no way to get that user's gmail
account from the phone, so the user has to enter the credentials at the
start of the app, correct?

- Dan

On Sat, Dec 26, 2009 at 12:01 PM, Benjamin <[email protected]> wrote:

> I've been working for the past couple of days to allow users to login
> to an android app with their gmail account and pass the authentication
> token to my app hosted on app engine - so i can download xml from my
> web services hosted on app engine as if the user logged into the app
> directly.
>
> There is a lot of info on ways to get the google auth code and the
> auth cookie and then pass the cookie in the header of an http request
> - but no  info out there on doing all of this from android and going
> as far as to add the cookie to the remaining http requests. So, now
> that's it's working, i thought i'd compile it all together and post
> the solution here in my blog - enjoy.
>
>
>
> http://javagwt.blogspot.com/2009/12/authenticating-android-app-to-google.html
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to