Using the Application

The Application tab (see Figure 5.2) contains application-wide settings, including the application label and icon, as well as information about application components such as activities, intent filters, and other application functionality, including configuration for service and content provider implementations.

Java - Droidl/AndroidManifest.xml - Eclipse

^ UlölJK«

File

Edit Run Navigate Search Project Refactor Win

dow Help

i rs

a ju S & - O - - i s

& © - * © - - s -- - egPl'i'ï?

a.Droidl Manifest ^^ = B

«

i^i Android Manifest

b

* Manifest General Attributes

Defines general information about the AndroidManifestxml

Package com.androidbook.droidl | Browse... | 1

Version code 1

Version name 1.0 | Browse... [

Shared user id

I Browse... |

Shared user label | Browse... [

Manifest Extras © (s

® ® ® As Attributes for Uses Sdk *

© Uses Sdk

Add 1 ® The useszsdk tag describes the SDK features that the

1-—1 containing package must be running on to operate correctly.

1 Remove- [ Min SDK version 7 | Browse-1

UP 1 Target SDK version 7 Browse... | = 1 Down | Max SDK version 7

To export the application for distribution, you have the following options:

The content of the Android Manifest is made up of three sections. You can also edit the XML directly.

(Â) Application: Activities, intent filters, providers, services and receivers.

(E Permission: Permissions defined and permissions used.

m Instrumentation: Instrumentation defined.

■8' XML Source: Directly edit the AndroidManifestxml file.

'8' Documentation: Documentation from the Android SDK for AndroidManifestxml.

Manifest | Application Permissions Instrumentation AndroidManifestxml

i □♦

The Manifest tab of the Eclipse manifest file resource editor.

FIGURE 5.2

The Application tab of the Eclipse manifest file resource editor.

0 0

Post a comment