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 Build a Blog Reader Android App Using Intents to Display and Share Posts Adding a Different Icon for Older Menus

Zerui Ma
Zerui Ma
5,422 Points

Curious about improving the blog reader app

I just finished the last course, what an app!

Now I'm thinking of playing around with the blog reader app, but I have encountered some difficulties:

  1. I tried to parsing other blog website's data, for ex:blog.ted.com, but I don't know where I can get the summary of the recent posts like treehouse's blog does. Or is there another general way to get the posts contents?

  2. If I want to add some pictures to show besides the plain text in the listView, should I add a imageView to the corresponding listView? Or what's the proper way to do it? And how can I get the pictures inside each blog post as my source of picture showing besides the titles?

Thanks!

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

For another blog, you need to do some detective work to figure out how you can get the data. Here's another post where we talk about it (there are a few here in the Forum): https://teamtreehouse.com/forum/blog-reader-from-another-blog

For adding an image in the ListView, check out this video and the next in the Self-Destructing Message app project: http://teamtreehouse.com/library/build-a-selfdestructing-message-android-app/retrieving-and-viewing-messages/creating-a-custom-list-layout-for-messages

Zerui Ma
Zerui Ma
5,422 Points

Any ideas on how to implementing other blog sites' JSON data? Or should I use rss instead?