开发者

What is the "context" meaning in Android? [duplicate]

开发者 https://www.devze.com 2023-01-20 06:34 出处:网络
This question already 开发者_Go百科has answers here: Closed 11 years ago. Possible Duplicate: What is Context in Android?
This question already 开发者_Go百科has answers here: Closed 11 years ago.

Possible Duplicate:

What is Context in Android?

I think its a very interesting question: What is the "context" meaning/concept in Android ?

Almost any things/object need context to working properly. What is the "context" represented? An integer ? a block of memory ?? or .....


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.

Source: http://developer.android.com/reference/android/content/Context.html

0

精彩评论

暂无评论...
验证码 换一张
取 消