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

Aus Android Wiki
Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

Create the activity without Android Studio

If you're using a different IDE or the command line tools, do the following:

  1. Create a new file named DisplayMessageActivity.java in the project's src/ directory, next to the originalMyActivity.java file.
  2. Add the following code to the file: