---------- Forwarded message ----------
From: arun kumar <[email protected]>
Date: Sat, Oct 1, 2011 at 1:22 AM
Subject: authentication to the server
To: [email protected]



i want to connect to the sap server.
am posting my code


UsernamePasswordCredentials creds =
*new* UsernamePasswordCredentials("username", "password");

AbstractHttpClient httpclient =
*null*;

((AbstractHttpClient) httpclient).getCredentialsProvider().setCredentials(
*new* AuthScope(AuthScope.*ANY_HOST*, AuthScope.*ANY_PORT*),creds);



but it is not connecting ..can any one suggest me how to authenticate to the
serer

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