<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>
<manifest><activity>
<activity-alias>
<service>
<receiver>
<provider>
<uses-library>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.android:allowClearUserDatatrue" 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.android:allowTaskReparentingtrue" 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.
<activity> 엘리먼트는, 여기에서 설정한 값을 오버라이드할 수 있는 그것들 자신의 allowTaskReparenting 애트리뷰트를 가질 수 있다. 더 많은 정보에 대해서는 그 애트리뷰트를 보라.
android:debuggabletrue" if it can be, and "false"
if not. The default value is "false".android:descriptionandroid:enabledtrue" 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”이다.
android:hasCodetrue"
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.
어떤 애플리케이션이, 드문 경우지만 AliasActivity 클래스를 사용하는 액티비티와 같이, 내장된built-in 컴포넌트 클래스를 제외하고 아무 것도 사용하지 않는다면, 그것 소유의 어떤 코드도 가지지 않는다.
android:iconicon 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.
이 애트리뷰트는 이미지 정의를 포함하는 드로어블drawable 리소스에 대한 레퍼런스로써 설정되어야 한다. 디폴트 아이콘은 없다.
android:labellabel 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.
라벨은 사용자 인터페이스의 다른 문자열들과 같이 로컬라이즈localize될 수 있도록, 문자열 리소스에 대한 레퍼런스로써 설정되어야 한다. 하지만 여러분이 애플리케이션을 개발하는 동안 편리하도록, 그것은 또한 원시 문자열로 설정될 수 있다.
android:manageSpaceActivity<activity> element.
android:nameApplication
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:permissionpermission attributes of individual
components.
For more information on permissions, see the Permissions section in the introduction and another document, Security and Permissions.
퍼미션에 관한 더 많은 정보는, 앞에 나왔던 퍼미션 섹션과 8장. 보안과 퍼미션을 보라.
android:persistenttrue" 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.android:processprocess
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.
디폴트로, 안드로이드는 애플리케이션의 첫 번째 컴포넌트가 실행될 필요가 있을 때, 그 애플리케이션을 위한 프로세스를 생성한다. 모든 컴포넌트는 그 프로세스에서 작동한다. 디폴트 프로세스 이름은 <manifest> 엘리먼트에 의해 설정된 package 이름과 일치한다.
이 애트리뷰트에 다른 애플리케이션과 공유되는 프로세스 이름을 설정함으로써, 여러분은 두 애플리케이션의 컴포넌트들을 동일한 프로세스에서 실행되도록 배치할 수 있다 ? 그러나 이것은 두 개의 애플리케이션 역시 사용자 ID를 공유하고, 동일 인증서로 사인된 것에 한한다.
만약 이 애트리뷰트에 할당된 이름이 콜론(‘:’)으로 시작되면, 새로운 프로세스는 애플리케이션에 프라이빗private하며, 그것이 필요할 때 생성된다. 만약 그 프로세스 이름이 소문자로 시작한다면, 그 이름을 가진 글로벌 프로세스가 만들어진다. 글로벌 프로세스는 다른 애플리케이션에 의해 공유될 수 있으며, 이것은 리소스 사용을 감소시킨다.
android:taskAffinitytaskAffinity
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을 공유한다. 그 친화력affinity이름은 <manifest> 엘리먼트에 의해 설정된 package 이름과 같다.
android:themetheme
attributes; see that attribute for more information.<activity>
<service>
<receiver>
<provider>