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

Android

blogreader app didn't work on my old skool phone... had to lower number of posts to 10

The BlogReader app worked in the emulator but not on my old Motorola DroidX phone (used just for testing). I was getting the error json "unterminated string at char ..." and read online that the character buffer might not be large enough. Also, in logcat, the post list was cutting off midway. So I changed the number of posts from 20 to 10 and it worked, hurray! But I'm wondering if there was a different way to fix it? To fix the buffer rather than just lowering the number of posts. Thanks!

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

This is an unfortunate bug in my code. Check the Teacher's Notes for this video, which link to a blog post that has code you can use instead. It should enable you to switch back to 20 (or more).

Thanks! :)