2011년 6월 2일 목요일

Android - Context

Class Overview
Interface to global information about an application environment. This is an abstract class whose implementation is provided by the Android system. It allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities, broadcasting and receiving intents, etc.

어플리케이션 환경에 관한 글로벌 정보를 접근하기 위한 인터페이스. Abstract 클래스이며 실재 구현은 안드로이드 시스템에 의해 제공된다. Context 를 통해, 어플리케이션에 특화된 리소스나 클래스에 접근할 수 있을 뿐만 아니라, 추가적으로, 어플리케이션 레벨의 작업 - Activity 실행, Intent 브로드캐스팅, Intent 수신 등, 을 수행하기 위한 API 를 호출 할 수도 있다.


엄청나게 자주 쓰이지만 개념이 잘 이해가....

그냥 간단히 말하면

Activity, Service 같은 애들의 정보를 가지고 있고, 걔네들을 제어 하는 함수들을 가지고 있는 인터페이스 정도?

댓글 없음:

댓글 쓰기