I am trying to open an interent connection with the following code snippet:
URL url = new URL(url_str);
InputStream is = url.openStream();
I have given persmission for internet in the manifest file.
<uses-permission android:name="android.permission.INTERNET" />
And I am getting "IOException: Received Authentication Challenge is Null" from the device.
Can anyone please let me know why I am getting this exception and how I can get rid of it?