Translations:Android Training/Starting Another Activity/22/en: Unterschied zwischen den Versionen
(Neue Version von externer Quelle importiert) |
(kein Unterschied)
|
Aktuelle Version vom 20. Dezember 2015, 21:22 Uhr
Every Activity
is invoked by an Intent
, regardless of how the user navigated there. You can get the Intent
that started your activity by calling getIntent()
and retrieve the data contained within the intent.
- In the
java/com.mycompany.myfirstapp
directory, edit theDisplayMessageActivity.java
file. - Get the intent and assign it to a local variable.