Dev Guide_Android Basics_Application Fundamentals


(2)
That covers the basics regarding how an Android application exists within the system. The rest of this document introduces you to:
  • The core framework components that define your application.
  • The manifest file in which you declare components and required device features for your application.
  • Resources that are separate from the application code and allow your application to gracefully optimize its behavior for a variety of device configurations.

  • アプリケーションがシステムの基礎知識セクションにどのように存在するかについては、次のドキュメントで説明します.
    アプリケーションのコアフレームワークコンポーネントを定義します.
    コンポーネントとアプリケーション・デバイスのプロパティを記述するmanifestファイル.
    アプリケーションコードとは独立したリソースを構成するために便利に使用できます.
     
    Application Components
    Application components are the essential building blocks of an Android application. Each component is a different point through which the system can enter your application. Not all components are actual entry points for the user and some depend on each other, but each one exists as its own entity and plays a specific role—each one is a unique building block that helps define your application's overall behavior.
    アプリケーションコンポーネント
    アプリケーションコンポーネントは、アプリケーションに必要な基礎です.各コンポーネントは、システムがアプリケーションに入る異なる点です.すべてのコンポーネントがユーザの実際のエントリポイントであるわけではなく、相互に関連付けられているものもあります.しかし、各コンポーネントはエンティティとして存在し、特殊な役割を果たしています.各コンポーネントは、アプリケーション全体を定義するのに役立つ唯一の基盤です.
    There are four different types of application components. Each type serves a distinct purpose and has a distinct lifecycle that defines how the component is created and destroyed.
    Here are the four types of application components:
    4つの異なるタイプのアプリケーションコンポーネントがあります.各タイプは、異なる目的でサービスされ、コンポーネントの作成と破棄によってライフサイクルが異なります.
     
    Activities
    An
    activity represents a single screen with a user interface. For example, an email application might have one activity that shows a list of new emails, another activity to compose an email, and another activity for reading emails. Although the activities work together to form a cohesive user experience in the email application, each one is independent of the others. As such, a different application can start any one of these activities (if the email application allows it). For example, a camera application can start the activity in the email application that composes new mail, in order for the user to share a picture.
    An activity is implemented as a subclass of Activity and you can learn more about it in the Activities developer guide.
    アクティブ
    アクティビティは、ユーザーが対話するインタフェースを示します.たとえば、メールアプリケーションには、新しいメールリストを表示するためのアクティビティ、その他のメールを書くアクティビティ、メールを読むアクティビティがあります.これらの共同作業のアクティビティは、1つのメールアプリケーションでユーザー体験の集合を形成するためであり、それぞれが独立しているからです.したがって、異なるアプリケーションは、メールアプリケーションが許可する場合など、これらのアクティビティのいずれかを起動することができます.