Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Blog Reader Android App Exploring the Master-Detail Template Creating a Project Using the Master-Detail Template

Eric Wolkoff
Eric Wolkoff
4,475 Points

How do I add the Master-Detail Template to android studio 64

I Just started the blog app tutorial. I understand they are using eclipse in tutorial. They downloaded a bundle from the developer website. I can do the same, but its in eclipse Im not sure Iit wil work with studio. I didn't see a bundle for android studio only eclipse...is there one? If yes where do I find it?

3 Answers

Stone Preston
Stone Preston
42,016 Points

you should not have to download a template or anything else, it should be available as template already in android studio. Just open up android studio, create a new project, then as part of the creating process you should be able to choose the master detail template

This video is so out of date. This sucks that we have to do workarounds to get this to work.

Eric Wolkoff
Eric Wolkoff
4,475 Points

sweet! you da man Stone!! Thanks!

Stone Preston
Stone Preston
42,016 Points

no worries. its good you are using android studio. I would also suggest using genymotion if you arent already. I am currently going through the blog reader project myself and so far I have been able to follow along using android studio just fine.

Eric Wolkoff
Eric Wolkoff
4,475 Points

I just wanted you to know what I did. Let me know if Ive made a mistake. I ran the app in my emulator and it worked Im just not sure if I will have any problems in the future

1.On the form factors screen, enable the Phone and Tablet option and set the minimum SDK setting to API 8: Android 2.2 (Froyo)

  1. When the activity configuration screen of the New Project dialog appears, select the Master/Detail Flow option as illustrated on the screen. I did not see a list I saw illustrations. 3.object kind and plural I put blogreader and blogreaders, when I put blogreaders the next item autopopulated to blogreaders. I just followed the rest of the video and it worked! I hope this helps others starting out. I will repost
Stone Preston
Stone Preston
42,016 Points

yeah you may encounter minor differences like that throughout the project, most of the stuff is same though, but occasionally something is a bit different.