When downloading a file from the net in the emulator all is fine, no
exception is thrown
HttpURLConnection httpURLConnection = (HttpURLConnection)
_URL.openConnection();
httpURLConnection.setRequestMethod("GET");
httpURLConnection.setDoOutput(true);
httpURLConnection.connect();
InputStream _InputStream = httpURLConnection.getInputStream();
yet, when reading the input stream into a buffer it returns 0 (zero)
length.
_InputStream.read(buffer, 0, buffer.length)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en