---------- Forwarded message ----------
From: arun kumar <arun.kata...@gmail.com>
Date: Sat, Oct 1, 2011 at 1:22 AM
Subject: authentication to the server
To: android-developers@googlegroups.com



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