Editing Translations:Android Training/Starting Another Activity/22/en (section)

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

Message definition (Android Training/Starting Another Activity)
Every <code>Activity</code> is invoked by an <code>[[Intent]]</code>, regardless of how the user navigated there. You can get the <code>Intent</code>that started your activity by calling <code>[http://developer.android.com/reference/android/app/Activity.html#getIntent() getIntent()]</code> and retrieve the data contained within the intent.
# In the <code>java/com.mycompany.myfirstapp</code> directory, edit the <code>DisplayMessageActivity.java</code> file.
# Get the intent and assign it to a local variable.

Please note that all contributions to Android Wiki are considered to be released under the Creative Commons Attribution/Share-Alike Lizenz 3.0 (see DroidWiki:Urheberrechte for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)