How to create basic access authentication on Android?
<p>I have implemented basic authorization in my android application in similar way as <a href="http://stackoverflow.com/questions/5850667/android-basic-authentication-2-2">this</a> but I continue get an error as html page:</p>

<pre><code>HTTP Error 400. The request hostname is invalid
</code></pre>

<p>I check my url at many times but don't find any problem with it. So my question is could this error occurs with reason is not related with form of my url?</p>
