Android Build an Interactive Story App Intents and Multiple Activities Getting Text from an EditText

Nkosinolwazi Moyo
Nkosinolwazi Moyo
2,632 Points

Setting variable to the value

I don't understand the question at all

1 Answer

Hi. Right now, we've only declared our String variable petName, so it has no value.

In this exercise, you need to get the text from that EditText (petNameField) variable, calling the right method, and assign it to petName, calling another specific method. Just re-watch the video if you don't remember these methods.

Hope that helps :)