Examining Your Code

When you decided to learn how to write Android apps, most likely you were thinking about traditional computer programming, using programming languages like Java and Kotlin. There is a fair amount of such programming involved in Android apps, though perhaps less than you might think.

In this chapter, we will explore what our starter project contains in terms of the code and how that code is organized.

The Top Level

Let’s look at our starter project’s tree, as shown in the “Project” view (in the “Project” mode in the drop-down), focusing on the top level of entries:

Android Studio Project View, Showing Top Level Entries
Android Studio Project View, Showing Top Level Entries

You will spend the vast majority of your time in the HelloWorld/ portion of the project tree, which represents the files that make up your Android app. We will examine the other two items — “External Libraries” and “Scratches and Consoles” — a bit later in this chapter.


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.