Exploring the Structure of an Android Application

Although the size and complexity of Android applications can vary greatly, their structures are similar. Figure 2–13 shows the structure of the “Hello World!” app you just built.

Image

Figure 2–13. The structure of the “Hello World!” application

Android applications have some artifacts that are required and some that are optional. Table 2–2 summarizes the elements of an Android application.

Image

As you can see from Table 2–2, an Android application is primarily made up of three pieces: the application ...

Get Pro Android 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.