Chapter 4. Defining the Application's Policy File
This chapter brings together all the learning we have done so far. We will use the application components, Intents, and permissions and put them all together to define our application's policy file. This policy file is called AndroidManifest.xml
and is by far the most important file of an application. As you will see, this file is the place to define access control policy for your application and components. This is also the place to define application and component level specifics that the Android system will use to interact with your application.
The chapter begins with a discussion of AndroidManfiest.xml
. We will discuss the two important tags: <manifest>
and <application>
that we have not discussed so far. Next, we will discuss the actions that we can perform in the manifest file such as declaring permission, sharing a process with other applications, external storage, and managing component visibility...