Android Tutorial

(avery) #1
Android Tutorial 97

 Configure other advanced application configuration details, including acting
as a service, broadcast receiver, or content provider.
 Enable application settings such as debugging and configuring
instrumentation for application testing.

Editing the Android Manifest File


The manifest resides at the top level of your Android project. You
can edit the Android manifest file using the Eclipse Manifest File
resource editor (a feature of the Android ADT plug-in for Eclipse) or
by manually editing the XML.


Editing the Manifest File Using Eclipse


You can use the Eclipse Manifest File resource editor to edit the
project manifest file. The Eclipse Manifest File resource editor
organizes the manifest information into categories:


 The Manifest tab
 The Application tab
 The Permissions tab
 The Instrumentation tab
 The AndroidManifest.xml tab

Let’s take a closer look at a sample Android manifest file. The
figures and samples come from the Android application called
Multimedia, which you build in Chapter “Using Android Multimedia
APIs.”We chose this project because it illustrates a number of
different characteristics of the Android manifest file, as opposed to
the very simple default manifest file you configured for the My First
Android App project.

Free download pdf