I am trying to authenticate with the Gmail atom feed using the 
authentication token of the Gmail account, obtained from AccountManager.

I have no problem pulling the authentication token for a Google Account 
registered on the device, using AccountManagergetAuthToken() with the 
authTokenType "mail", but the authentication token does not register with 
the atom feed. I've played with a few variations, but all I get is a 401 / 
Unauthorized response from Google. 
Basically, I've tried to GET https://mail.google.com/mail/feed/atom/unread 
adding in a "Authorization" header item with "Bearer <authentication 
token>", but that didn't work. 
Any ideas where the disconnect is?

-- 
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

Reply via email to