Hello, I am reading the following URL to test a RSS parser.
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xm When using the same code on a Android HTC phone the whole resource cannot be read. There are no exceptions being thrown. I am guessing the rss.xml is too large to be read in? I use a sax parser after the block of code which complains. try { InputStream urlInputStream = null; URL url = new URL("http://newsrss.bbc.co.uk/rss/ newsonline_uk_edition/uk/rss.xml"); BufferedReader buff = new BufferedReader(new InputStreamReader (url.openStream())); String line = buff.readLine(); System.out.println(line); while (line != null) { line = buff.readLine(); System.out.println(line); } if (urlInputStream != null) { urlInputStream.close(); } } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---