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 trialNancy Melucci
Courses Plus Student 36,143 PointsSending EditText to a Second Activity in Android.
I am asking for help with code to make a mad lib. I could not send the question after I pasted the code. Please look for my post here. It's a mad libs activity. The title is very similar to this one.
1 Answer
Murat Hasdemir
Front End Web Development Techdegree Graduate 20,968 PointsI'm not on android for a long time but you can try to pass values by intents. here is a simple code for it:
Intent intent = new Intent ( FirstAcvity.this, SecondActivity.class );
intent.putExtra ( "value name", "value to pass" );
startActivity(intent);