code_android_festival_way wrote:
> But that's not the main error for me. In line 43 I get "The method
> setCredentials(AuthScope, Credentials) in the type HttpState is
>  not applicable for the arguments (AuthScope, Credentials)" in
> Eclipse. And thats the reason why I can't even test the whole thing.
> (I know that I have to change line 42)

Ah.

Well, I don't actually see an HttpState class or interface in the 
documentation for Android's edition of the HttpClient library. Perhaps 
Android is using an older edition.

Off the cuff, it looks like you want 
client.getCredentialsProvider().setCredentials() instead of 
client.getState().setCredentials(authScope, cred);

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_  Version 1.0 Published!

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to