Translations:Android Training/Starting Another Activity/23/en
At the top of the file, import the Intent
class. In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes.
- Extract the message delivered by
MyActivity
with thegetStringExtra()
method.