Suchergebnisse
Erstelle die Seite „Android Training/Starting an Activity“ in diesem Wiki. Siehe auch die gefundenen Suchergebnisse.
- Android Training/Starting Another Activity/de (Kategorie Android Training) (Abschnitt Create a new activity using Android Studio)define the activity layout with the setContentView() method. This is where the activity performs the initial setup of the activity components. Android Studio…17 KB (1.795 Wörter) - 21:27, 20. Dez. 2015
- Android Training/Starting Another Activity/en (Kategorie Android Training) (Abschnitt Create a new activity using Android Studio)define the activity layout with the setContentView() method. This is where the activity performs the initial setup of the activity components. Android Studio…17 KB (1.791 Wörter) - 21:27, 20. Dez. 2015
- Android Training/Starting Another Activity (Kategorie Android Training) (Abschnitt Create a new activity using Android Studio)define the activity layout with the setContentView() method. This is where the activity performs the initial setup of the activity components. Android Studio…17 KB (1.791 Wörter) - 21:27, 20. Dez. 2015
- Android Training (Kategorie Android Training)Sprachen: Deutsch • English Welcome to Training for Android developers. Here you'll find sets of lessons within classes that describe how to accomplish…1.006 Bytes (140 Wörter) - 04:36, 18. Dez. 2015
- In MyActivity.java, inside the sendMessage() method, create an Intent to start an activity called DisplayMessageActivity with the following code:…227 Bytes (20 Wörter) - 21:27, 20. Dez. 2015
- After completing the previous lesson, you have an app that shows an activity (a single screen) with a text field and a button. In this lesson, you’ll add…332 Bytes (44 Wörter) - 21:27, 20. Dez. 2015
- The system receives this call and starts an instance of the Activity specified by the Intent. Now you need to create the DisplayMessageActivity class in…220 Bytes (30 Wörter) - 21:22, 20. Dez. 2015
- An Intent can carry data types as key-value pairs called extras. The putExtra() method takes the key name in the first parameter and the value in the second…315 Bytes (44 Wörter) - 21:22, 20. Dez. 2015
- In the res/layout directory, edit the content_display_message.xml file. Add an android:id attribute to the RelativeLayout. You need this attribute to reference…264 Bytes (31 Wörter) - 21:22, 20. Dez. 2015
- Every Activity is invoked by an Intent, regardless of how the user navigated there. You can get the Intentthat started your activity by calling getIntent() and…522 Bytes (55 Wörter) - 21:22, 20. Dez. 2015
- Note: If you are using an IDE other than Android Studio, your project does not contain the activity_display_message layout that's requested by setContentView()…464 Bytes (52 Wörter) - 21:27, 20. Dez. 2015
- Note: The reference to DisplayMessageActivity will raise an error if you’re using an IDE such as Android Studio because the class doesn’t exist yet. Ignore the…749 Bytes (102 Wörter) - 21:22, 20. Dez. 2015
- Translations:Android Training/Starting Another Activity/14/en (Abschnitt Create a new activity using Android Studio)Android Studio includes a stub for the onCreate() method when you create a new activity. The New Android Activity window appears. In Android Studio, in…1 KB (148 Wörter) - 21:22, 20. Dez. 2015
- That's it, you've built your first Android app!…47 Bytes (8 Wörter) - 21:22, 20. Dez. 2015
- Set the text size and message with setText().…175 Bytes (8 Wörter) - 21:22, 20. Dez. 2015
- The complete onCreate() method for DisplayMessageActivity now looks like this:…108 Bytes (10 Wörter) - 21:22, 20. Dez. 2015
- Add the TextView to the RelativeLayout identified by R.id.content.…186 Bytes (11 Wörter) - 21:22, 20. Dez. 2015
- Nach dem Abschluss der vorherigen Lektion hast du eine App, welche eine Activity (eine einzelne Ansicht), mit einem Textfeld und einem Button, anzeigt.…391 Bytes (47 Wörter) - 21:26, 20. Dez. 2015
- manifest file, AndroidManifest.xml, within the Application element, add the <activity> element for your DisplayMessageActivity class, as follows:…287 Bytes (20 Wörter) - 21:22, 20. Dez. 2015
- At the top of the file, import the TextView class. In Android Studio, press Alt + Enter (option + return on Mac) to import missing classes.…224 Bytes (24 Wörter) - 21:22, 20. Dez. 2015