开发者

How does context work on Android?

I know it will开发者_运维知识库 sound dumb or people will just say: read the documentations available. But i can't get to understand how Context works. Yes, android.content.Context

Can someone help me??

thanks


The API states (with important information bolded):

android.content.Context:

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.

It's in the android.content package, which implements the concept of content providers. Content providers abstract out data access from data stores in a REST-like way.

But more specifically, what don't you understand? You need to make your question more specific or else there's not much we can help you with.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜