<application>

syntax:
<application android:allowClearUserData=["true" | "false"]
             android:allowTaskReparenting=["true" | "false"]
             android:debuggable=["true" | "false"]
             android:description="string resource"
             android:enabled=["true" | "false"]
             android:hasCode=["true" | "false"]
             android:icon="drawable resource"
             android:label="string resource"
             android:manageSpaceActivity="string"
             android:name="string"
             android:permission="string"
             android:persistent=["true" | "false"]
             android:process="string"
             android:taskAffinity="string"
             android:theme="resource or theme" >
    . . .
</application>
contained in:
<manifest>
can contain:
<activity>
<activity-alias>
<service>
<receiver>
<provider>
<uses-library>
description:
The declaration of the application. This element contains subelements that declare each of the application's components and has attributes that can affect all the components. Many of these attributes (such as icon, label, permission, process, taskAffinity, and allowTaskReparenting) set default values for corresponding attributes of the component elements. Others (such as debuggable, enabled, description, and allowClearUserData) set values for the application as a whole and cannot be overridden by the components.
애플리케이션에 대한 선언. 이 엘리먼트는 애플리케이션의 컴포넌트 각각을 선언하는 서브엘리먼트를 포함하며, 모든 해당 컴포넌트에 영향을 미치는 애트리뷰트를 가진다. (icon, label, permission, process, taskAffinity, 그리고 allowTaskReparenting 같은) 이들 애트리뷰트 중 많은 것들은 컴포넌트 엘리먼트의 해당 애트리뷰트에 대한 디폴트 값을 설정한다. (debuggable, enabled, description, 그리고 allowClearUserData 같은) 다른 것들은 전체 애플리케이션에 대한 값을 설정하며, 컴포넌트에 의해 오버라이드 될 수는 없다.
attributes
android:allowClearUserData
Whether or not users are given the option to remove user data "true" if they are, and "false" if not. If the value is "true", as it is by default, the application manager includes an option that allows users to clear the data.
사용자들에게 사용자 데이터를 제거할 수 있는 옵션을 부여할 것인지 여부 ? 그들이 그런 옵션을 부여받으면 “참true” 아니라면 “거짓false”이다. 만약 값이 “참true”이라면, 애플리케이션 관리자는 사용자들이 데이터를 제거할 수 있게 하는 옵션을 포함한다.
android:allowTaskReparenting
Whether or not activities that the application defines can move from the task that started them to the task they have an affinity for when that task is next brought to the front "true" if they can move, and "false" if they must remain with the task where they started. The default value is "false".

The <activity> element has its own allowTaskReparenting attribute that can override the value set here. See that attribute for more information.

애플리케이션이 정의하는 액티비티들이 그것을 시작시킨 태스크에서 그들이 친화력을 가지는 태스크로 그 태스크가 다음에 프론트로 오게 될 때 이동할 수 있는지 여부 ? 그것들이 이동할 수 있다면 “참true” 그리고 그것들이 시작된 태스크에 남아있어야 한다면 “거짓false”이다. 디폴트 값은 “거짓false”이다.

<activity> 엘리먼트는, 여기에서 설정한 값을 오버라이드할 수 있는 그것들 자신의 allowTaskReparenting 애트리뷰트를 가질 수 있다. 더 많은 정보에 대해서는 그 애트리뷰트를 보라.

android:debuggable
Whether or not the application can be debugged, even when running on a device in user mode "true" if it can be, and "false" if not. The default value is "false".
사용자 모드로 디바이스 상에서 실행 중일 때 조차 애플리케이션이 디버그될 수 있는지 여부 - 그것이 될 수 있다면 “참true” 아니라면 “거짓false”이다. 디폴트 값은 “거짓false”이다.
android:description
User-readable text about the application, longer and more descriptive than the application label. The value must be set as a reference to a string resource. Unlike the label, it cannot be a raw string. There is no default value.
애플리케이션 라벨보다 더 길고 더 설명적인 애플리케이션에 대한 사용자가 읽을 수 있는 텍스트. 값은 문자열 리소스에 대한 레퍼런스로써 설정되어야 한다. 라벨과는 달리, 그것은 원시 문자열이 될 수는 없다. 디폴트 값은 없다.
android:enabled
Whether or not the Android system can instantiate components of the application "true" if it can, and "false" if not. If the value is "true", each component's enabled attribute determines whether that component is enabled or not. If the value is "false", it overrides the component-specific values; all components are disabled.

The default value is "true".

안드로이드 시스템이 애플리케이션의 컴포넌트를 인스턴스화 할 수 있는지 여부? 그것이 가능하다면 “참true” 아니라면 “거짓false”이다. 만약 그 값이 “참true”이라면, 각 컴포넌트의 enabled 애트리뷰트가 그 컴포넌트의 활성화 여부를 결정한다. 만약 그 값이 “거짓false”이라면, 그 값이 컴포넌트에서 지정한 값들을 오버라이드한다; 모든 컴포넌트들은 비활성화된다.

디폴트 값은 “참true”이다.

android:hasCode
Whether or not the application contains any code "true" if it does, and "false" if not. When the value is "false", the system does not try to load any application code when launching components. The default value is "true".

An application would not have any code of its own only if it's using nothing but built-in component classes, such as an activity that uses the AliasActivity class, a rare occurrence.

애플리케이션이 임의의 코드를 포함하고 있는지 여부 ? 만약 그것이 포함하고 있다면 “참true” 아니라면 “거짓false”이다. 그 값이 “거짓false” 일 때, 시스템은 컴포넌트를 런치할 때 어떤 애플리케이션 코드도 적재하려고 시도하지 않는다. 디폴트 값은 “참true”이다.

어떤 애플리케이션이, 드문 경우지만 AliasActivity 클래스를 사용하는 액티비티와 같이, 내장된built-in 컴포넌트 클래스를 제외하고 아무 것도 사용하지 않는다면, 그것 소유의 어떤 코드도 가지지 않는다.

android:icon
An icon for the application as whole, and the default icon for each of the application's components. See the individual icon attributes for <activity>, <activity-alias>, <service>, <receiver>, and <provider> elements.

This attribute must be set as a reference to a drawable resource containing the image definition. There is no default icon.

전체 애플리케이션에 대한 아이콘, 그리고 애플리케이션의 각 컴포넌트에 대한 디폴트 아이콘, <activity>, <activity-alias>, <service>, <receiver> 그리고 <provider> 엘리먼트들에 대한 각각의 icon 애트리뷰트를 보라.

이 애트리뷰트는 이미지 정의를 포함하는 드로어블drawable 리소스에 대한 레퍼런스로써 설정되어야 한다. 디폴트 아이콘은 없다.

android:label
A user-readable label for the application as a whole, and a default label for each of the application's components. See the individual label attributes for <activity>, <activity-alias>, <service>, <receiver>, and <provider> elements.

The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface. However, as a convenience while you're developing the application, it can also be set as a raw string.

전체 애플리케이션에 대한 사용자가 읽을 수 있는 라벨, 그리고 애플리케이션의 각 컴포넌트에 대한 디폴트 라벨. <activity>, <activity-alias>, <service>, <receiver>, 그리고 <provider> 엘리먼트에 대한 각각의 label 애트리뷰트를 보라.

라벨은 사용자 인터페이스의 다른 문자열들과 같이 로컬라이즈localize될 수 있도록, 문자열 리소스에 대한 레퍼런스로써 설정되어야 한다. 하지만 여러분이 애플리케이션을 개발하는 동안 편리하도록, 그것은 또한 원시 문자열로 설정될 수 있다.

android:manageSpaceActivity
The fully qualified name of an Activity subclass that the system can launch to let users manage the memory occupied by the application on the device. The activity should also be declared with an <activity> element.
디바이스 상에서 애플리케이션에 의해 점유되는 메모리를 사용자가 관리할 수 있도록 시스템이 런치할 수 있는 액티비티 서브클래스의 전체 이름. 그 액티비티는 또한 <activity> 엘리먼트를 가지고 선언되어야 한다.
android:name
The fully qualified name of an Application subclass implemented for the application. When the application process is started, this class is instantiated before any of the application's components.

The subclass is optional; most applications won't need one. In the absence of a subclass, Android uses an instance of the base Application class.

애플리케이션을 위해 구현된 애플리케이션 서브클래스의 전체 이름. 애플리케이션 프로세스가 시작될 때, 이 클래스는 애플리케이션의 모든 컴포넌트 이전에 인스턴스화된다.

그 서브클래스는 선택 사항이다; 대부분의 애플리케이션은 이것을 필요로 하지 않을 것이다. 만약 서브클래스가 없으면, 안드로이드는 베이스 애플리케이션 클래스 인스턴스를 사용한다.

android:permission
The name of a permission that clients must have in order to interact with the application. This attribute is a convenient way to set a permission that applies to all of the application's components. It can be overwritten by setting the permission attributes of individual components.

For more information on permissions, see the Permissions section in the introduction and another document, Security and Permissions.

클라이언트가 애플리케이션과 상호작용하기 위해 가져야 하는 퍼미션의 이름. 이 애트리뷰트는 모든 애플리케이션 컴포넌트에 퍼미션을 적용하는 편리한 방법이다. 그것은 각 컴포넌트의 퍼미션 속성을 설정함으로써 오버라이드될 수 있다.

퍼미션에 관한 더 많은 정보는, 앞에 나왔던 퍼미션 섹션과 8장. 보안과 퍼미션을 보라.

android:persistent
Whether or not the application should remain running at all times "true" if it should, and "false" if not. The default value is "false". Applications should not normally set this flag; persistence mode is intended only for certain system applications.
애플리케이션이 항상 실행 상태로 남아있어야 하는지 여부 ? 만약 그것이 그래야 한다면 “참true” 아니라면 “거짓false”이다. 디폴드 값은 “거짓false”이다. 애플리케이션은 일반적으로 이 플래스를 설정해서는 안된다; 퍼시스턴스persistence 모드는 특정 시스템 애플리케이션만을 위해 의도된 것이다.
android:process
The name of a process where all components of the application should run. Each component can override this default by setting its own process attribute.

By default, Android creates a process for an application when the first of its components needs to run. All components then run in that process. The name of the default process matches the package name set by the <manifest> element.

By setting this attribute to a process name that's shared with another application, you can arrange for components of both applications to run in the same process but only if the two applications also share a user ID and be signed with the same certificate.

If the name assigned to this attribute begins with a colon (':'), a new process, private to the application, is created when it's needed. If the process name begins with a lowercase character, a global process of that name is created. A global process can be shared with other applications, reducing resource usage.

애플리케이션의 모든 컴포넌트가 실행되어야 하는 프로세스의 이름. 각 컴포넌트는 그것 자신의 process 애트리뷰트를 설정함으로써, 이 디폴트를 오버라이드 할 수 있다.

디폴트로, 안드로이드는 애플리케이션의 첫 번째 컴포넌트가 실행될 필요가 있을 때, 그 애플리케이션을 위한 프로세스를 생성한다. 모든 컴포넌트는 그 프로세스에서 작동한다. 디폴트 프로세스 이름은 <manifest> 엘리먼트에 의해 설정된 package 이름과 일치한다.

이 애트리뷰트에 다른 애플리케이션과 공유되는 프로세스 이름을 설정함으로써, 여러분은 두 애플리케이션의 컴포넌트들을 동일한 프로세스에서 실행되도록 배치할 수 있다 ? 그러나 이것은 두 개의 애플리케이션 역시 사용자 ID를 공유하고, 동일 인증서로 사인된 것에 한한다.

만약 이 애트리뷰트에 할당된 이름이 콜론(‘:’)으로 시작되면, 새로운 프로세스는 애플리케이션에 프라이빗private하며, 그것이 필요할 때 생성된다. 만약 그 프로세스 이름이 소문자로 시작한다면, 그 이름을 가진 글로벌 프로세스가 만들어진다. 글로벌 프로세스는 다른 애플리케이션에 의해 공유될 수 있으며, 이것은 리소스 사용을 감소시킨다.

android:taskAffinity
An affinity name that applies to all activities within the application, except for those that set a different affinity with their own taskAffinity attributes. See that attribute for more information.

By default, all activities within an application share the same affinity. The name of that affinity is the same as the package name set by the <manifest> element.

애플리케이션 내의 모든 액티비티들에 적용되는 친화력affinity 이름이며, 액티비티가 자기 자신의 taskAffinity 애트리뷰트를 사용해서 다른 친화력affinity를 설정하고 있다면 그것은 제외된다. 더 많은 정보에 대해서는 액티비티 애트리뷰트를 보라.

디폴트로, 애플리케이션 내의 모든 액티비티는 동일 친화력affinity을 공유한다. 그 친화력affinity이름은 <manifest> 엘리먼트에 의해 설정된 package 이름과 같다.

android:theme
A reference to a style resource defining a default theme for all activities in the application. Individual activities can override the default by setting their own theme attributes; see that attribute for more information.
애플리케이션 안의 모든 액티비티에 대한 디폴트 테마를 정의하는 스타일 리소스에 대한 레퍼런스. 각각의 액티비티는 그들 자신의 theme 애트리뷰트를 설정함으로써 디폴트를 오버라이드 할 수 있다; 더 많은 정보에 대해서는 액티비티 애트리뷰트를 보라.
introduced in:
API Level 1
see also:
<activity>
<service>
<receiver>
<provider>
↑ Go to top