Translations:Android Training/Starting Another Activity/8/en

Aus Android Wiki
Version vom 20. Dezember 2015, 21:22 Uhr von FuzzyBot (Diskussion | Beiträge) (Neue Version von externer Quelle importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

At the top of the file, import the EditText class. In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes.

  1. Assign the text to a local message variable, and use the putExtra() method to add its text value to the intent.