I've been working for the past two days to make httpclient calls from
android calls to REST web services on my app engine project and
provide the authentication cookie when the user enters their gmail
credentials on the phone - so the android app is able to download data
from the service and the code behind the service can use  UserService
userService = UserServiceFactory.getUserService(); because the android
app is indeed logged in.

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 
"Google App Engine" 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/google-appengine?hl=en.


Reply via email to