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 an Interactive Story App (Retired) The Model-View-Controller Pattern Adding Custom Constructors

abhilash reddy
abhilash reddy
1,237 Points

I wanted to use the story lines from resource file that is from strings.xml file

I have pasted all the story lines in the strings.xml file, then in the custom constructor where we use the story lines i tried to use from resources values by following way getString(R.string.page0Story) but iam getting an error here please help me to proceed further

Mark VonGyer
Mark VonGyer
21,239 Points

You should read the error in Android studio/ Eclipse. You should try and fix simple errors yourself first - and Android studio will certainly help you locate the problem.