Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Kobus Pitzer
1,025 PointsGetting Website Information
Hi there everyone, I am currently busy with the build a Blog Reader Android App with Ben. I am at the stage where he gets the JSON data from the site.
The problem that I have is that when I try to read another webpage , such as http://www1.up.ac.za/timetables/eng_timetable.html , that the reader stops reading and that there is no more data being saved in the array.
So basically is there a way to read long webpages and does the .read() method have a size limit? If so how do I overcome this limit.
Thanks in advance
1 Answer
Ben Jakuben
Treehouse TeacherSorry for the late reply - check out this example on how to use a BufferedReader to loop through a lot of content: http://stackoverflow.com/a/2549222/475217