Editing Translations:Android Training/Starting Another Activity/6/en

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)
'''Note:''' The reference to <code>DisplayMessageActivity</code> will raise an error if you’re using an IDE such as Android Studio because the class doesn’t exist yet. Ignore the error for now; you’ll create the class soon.  The constructor used here takes two parameters:
#* A <code>Context</code> as its first parameter (<code>this</code> is used because the <code>Activity</code> class is a subclass of <code>Context</code>)
#* The <code>Class</code> of the app component to which the system should deliver the <code>Intent</code> (in this case, the activity that should be started) Android Studio indicates that you must import the <code>Intent</code> class.
# At the top of the file, import the <code>Intent</code> class:
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)