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 Simple Android App (retired 2014) Interrogating the App The Android Log

Gary Mclean
Gary Mclean
5,756 Points

Interrogating the app - Challenge help

Hi guys, i think im being completely stupid but ive been stuck on this far to long to care :p

the question is Use a method to set the TAG member variable instead of hard-coding the class name as "MainActivity". We want just the class name by itself without the package name: is it getName() or getSimpleName()? Change the "MainActivity" string to the correct method call (ex. MainActivity.class.<insert correct method>).

Ive no idea what it wants me todo any help?

Thanks