hi,

so i tried the following

 HttpGet httpget = new HttpGet("http://maps.google.com/maps/feeds/maps/
default/full");
 httpget.addHeader("Authorization: GoogleLogin", "auth="+authVal );

where the authVal is the token retrieved previously.

But I am getting the following error:

Authentication error: Unable to respond to any
of these challenges: {googlelogin=WWW-Authenticate: GoogleLogin
realm="http://ww
w.google.com/accounts/ClientLogin", service="local"}
W/System.err( 8462): org.apache.http.client.HttpResponseException:
Missing auth
token

what am i doing wrong? thanks!

On Oct 6, 11:21 am, dadada <[email protected]> wrote:
> hi
>
> how do i include Authorization: GoogleLogin auth="authorization_token"
> into the httpclient?
>
> should i be doing :
>
>  List<NameValuePair> nameValuePairs = new
> ArrayList<NameValuePair>(1);
>  nameValuePairs.add(new BasicNameValuePair("Authorization",
> "GoogleLogin auth="authorization_token""));  ??
>
> Thanks!
> bryan

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