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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.