Translations:Android Training/Starting Another Activity/15/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 activity without Android Studio[edit source]

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: