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

From Android Wiki
Revision as of 20:22, 20 December 2015 by FuzzyBot (talk | contribs) (Neue Version von externer Quelle importiert)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Create the Second Activity[edit source]

All subclasses of Activity must implement the onCreate() method. This method is where the activity receives the intent with the message, then renders the message. Also, the onCreate() method must define the activity layout with the setContentView() method. This is where the activity performs the initial setup of the activity components.
{"cc_re__cc_re__cc_by_sa_3_0": ["ndicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-invert'></span></button></span></div></form></div>\n</div>\n\n\t</div> \n</div> \n\n<div class=\"mw-workspace-container mw-footer-container\">\n\t<div class=\"mw-content-container\">\n\t\t<footer id=\"footer\" class=\"mw-footer\" role=\"contentinfo\"  lang=\"en\" dir=\"ltr\">\n\t<ul id=\"footer-info\">\n\t<li id=\"footer-info-lastmod\"> This page was last edited on 20 December 2015, at 20:22.</li>\n\t<li id=\"footer-info-copyright\">Text is available under the <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">Creative Commons Attribution-ShareAlike License</a>.</li>\n</ul>\n\n\t<ul id=\"footer-places\">\n\t<li id=\"footer-places-privacy\"><a href=\"/wiki/DroidWiki:Datenschutz\" title=\"DroidWiki:Datenschutz\">Privacy policy</a></li>\n\t<li id=\"footer-places-disclaimer\"><a href=\"/wiki/DroidWiki:Impressum\" title=\"DroidWiki:Impressum\">Disclaimers</a></li>\n\t<li id=\"footer-places-developers\"><a href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/How_to_contribute\">Entwickler</a></li>\n\t<li id=\"footer-places-imprint\"><"], "cc_re__cc_re__cc_by_sa_3_0_de": ["iki.org/wiki/Special:MyLanguage/How_to_contribute\">Entwickler</a></li>\n\t<li id=\"footer-places-imprint\"><a href=\"/wiki/DroidWiki:Impressum\">Impressum</a></li>\n\t<li id=\"footer-places-mobileview\"><a href=\"https://www.droidwiki.org/w/index.php?title=Translations:Android_Training/Starting_Another_Activity/13/en&amp;oldid=13407&amp;mobileaction=toggle_view_mobile\" class=\"noprint stopMobileRedirectToggle\">Mobile view</a></li>\n</ul>\n\n\t<ul id=\"footer-icons\" class=\"noprint\">\n\t<li id=\"footer-copyrightico\"><a href=\"https://creativecommons.org/licenses/by-sa/3.0/deed.de\"><img src=\"https://creativecommons.org/images/public/somerights20.png\" alt=\"Creative Commons Attribution/Share-Alike Lizenz 3.0\" width=\"88\" height=\"31\" loading=\"lazy\"/></a></li>\n\t<li id=\"footer-poweredbyico\"><a href=\"https://www.mediawiki.org/\"><img src=\"/w/resources/assets/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" srcset=\"/w/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /w/resources/assets/poweredby_mediawiki_176x62.png 2x\" width=\"88\" height=\"31\" loading=\"lazy\"/></a></li>"], "copyright__copyright__copyright": ["Neue Version von externer Quelle importiert)\n(diff) \u2190 Older revision | Latest revision (diff) | Newer revision \u2192 (diff)\n\nCreate the Second Activity[edit source]\n\nAll subclasses of\u00a0Activity\u00a0must implement the\u00a0onCreate()\u00a0method. This method is where the activity receives the intent with the message, then renders the message. Also, the\u00a0onCreate()\u00a0method must define the activity layout with the\u00a0setContentView()\u00a0method. This is where the activity performs the initial setup of the activity components.", "Neue Version von externer Quelle importiert)\n(diff) \u2190 Older revision | Latest revision (diff) | Newer revision \u2192 (diff)\n\nCreate the Second Activity[edit source]\n\nAll subclasses of\u00a0Activity\u00a0must implement the\u00a0onCreate()\u00a0method. This method is where the activity receives the intent with the message, then renders the message. Also, the\u00a0onCreate()\u00a0method must define the activity layout with the\u00a0setContentView()\u00a0method. This is where the activity performs the initial setup of the activity components."]}