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

Development Tools

sending data to a new activity

we have updated the LaunchActivity to include a fuel level (mFuelLevel) for the spacecraft. this value needs to be passedto the FlightActivity. add the code to pass this value along via the intent. use the key "FUEL_LEVEL"

1 Answer

John Keith Zank
John Keith Zank
11,848 Points
            Intent intent = getIntent();

If you're doing the exercises along with the video then you can easily reference the code you've written since they'll be nearly the same if not exactly the same for most code challenges.