Understanding the Android Manifest file

As you learned in chapter 1, Android requires a manifest file for every application—AndroidManifest.xml. This file, which is placed in the root directory of the project source, describes the application context and any supported activities, services, intent receivers, and/or content providers, as well as permissions. You will learn more about services, intents, and intent receivers in the next chapter and about content providers in chapter 5. For now the manifest for our RestaurantFinder sample application, as shown in listing 3.11, contains only the <application> itself, an <activity> element for each screen, and several <uses-permission> elements.

0 0

Post a comment