7

How to authenticate from program code to retrieve data from specific uri in android..?

view full story
linux-howto

http://stackoverflow.com – I am working on project in which i need to by pass authentication through coding and hit a Uri to fetch some data. like the uri for Login page is: http://www.test.com/login.htm where two TextFields are provided for username and password.on click of submit i am lead to the page having uri: http://www.test.com/status/info.htm where the needed information is provided in the form of html data. Now i want to hit info page directly on click of button by passing the Login page. Since i Know the UserName and password.. I have tried Authenticator as shown: Authenticator.setDefault(new Auth (HowTos)