android application throws host unresolved exception?
<p>i have made an android application in which i am supposed to request an xml first and then parse it.
i am encountering a strange problem... sometimes when i run the application, it runs fine but others times my web request shows host unresolved exception on port 80. i don't understand why this is happening. 
when the exception is being thrown, if i try to access the url via web browser, it opens up fine. So there is no problem server side.</p>

<p>what could be going wrong?</p>

<p>thank you in advance.</p>

<p>edit: when i restarted the emulator the anomaly got solved.</p>
