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 Opening a Webpage Within the App

Fragments again

adt automaticly added fragments, plz fix this so other user could understand easier.

3 Answers


Treehouse is not the developer of ADT ;)

However, you can get rid of the fragment when creating a new activity very easily. Just copy the code from the fragment xml to the layout xml and then delete the fragment. You should also delete the code handling the fragment from the newly created activity.

Easy as that :)

Hello Martin! I myslef know how to do that but those mismatches are bugging me ( also BlogWebViewActivity that make errors when trying to change extends ActionBarActivity to Activty).

thank for you fast kind and currect answer, probably i should have sent it to teamtree house directly and not as a forum thread but this "Start Discussion" Button is so overwhelming.

P.S. i know it is a problem of ADT but I cant use the graphical add in the menus. i get this (which seems to be unrare) problem https://android.googlecode.com/issues/attachment?aid=672580008000&name=menu.png&token=ABZ6GAdUxnmFxXn6AdGI7OukrzImpLngig%3A1400250693247&inline=1

I think it is will be good if TeamTreeHouse would show the regular way (Like so: http://prntscr.com/3jqkpp) edit : After i saw the complete video you did showed how to do it, sorry for the false accusation.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Thanks for the feedback! I've just started the process of refreshing the Crystal Ball and Blog Reader courses. We'll wait until after Google I/O in June to know more about the future of the tools, but the courses will be updated soon in a manner that will eliminate this confusion.

Thank Ben, the videos are GREAT!