Hi all, I am facing some problem in android as i am new to it, i need to know how to write syntax in android for the below problem.
Problem: I have a .net web service (www.somesite.com), that webserver has an authentication method which require user name and password as parameter to authenticate.Once i set those things using the authentication method, it will allow me to call the rest of the functionality present in the webserver. i have source code written in ASP, i want to write the same in android. private MyServerAPI.Service _service; _service = new MyServerAPI.Service(); MyServerAPI.DTAuthHeader auth = new MyServerAPI.DTAuthHeader(); auth.Username = ConfigurationManager.AppSettings["MyServerAPI.user"]; auth.Password = ConfigurationManager.AppSettings["MyServerAPI.pass"]; _service.DTAuthHeaderValue = auth; _service.Url = ConfigurationManager.AppSettings["MyServerAPI.service"]; i want to write the same thing in android, can you people please help me out in this and let me know.. Thanks in advance. -- 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

