标签:
Context 英文直译:上下文
Google官方文档概述:
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.
有关一个应用运行环境的全局信息接口。这是一个抽象类,它的实现由 Android 系统提供。它允许开发者访问应用特定的资源与类型,以及对应用层的上行调用,比如启动 activities,广播和接收 intents 等等。
在 Android 中,我们通过 Context 类识别调用者的实例,它主要被用来访问和加载资源。
【相关资料】
http://blog.csdn.net/myarrow/article/details/14121757
标签:
原文地址:http://www.cnblogs.com/dbylk/p/4286844.html