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

Aus Android Wiki
Zur Navigation springen Zur Suche springen

Create the Second Activity[Quelltext bearbeiten]

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.