Android -  Basic Authenticated HTTP Request
<p>So basically i need my android app to connect to a web service using a url as such
"http://username:password@0.0.0.0" aka basic authentication.
obviously the username and password are checked by the web app before allowing access and otherwise doesn't allow the request.</p>

<p>my issue is that all the methods i try always say unauthorised (response code 401) regardless of what combination of classes and methods ive used to try and connect to the the url.</p>

<p>The web app in question is designed to return things only is un/pw clears otherwise it returns nothing, the web app and un/pw etc have all be checked and cleared.</p>

<p>so does anyone no the correct way to send a request to a url like that and have it work correctly?</p>

<p>android api8 btw</p>

<p><strong>UPDATE</strong>
Turns out my issue is due to the web app using NTLM windows authentication which is not supported directly by androids/apache http library, investigating appropriate workarounds now</p>
