开发者

How does context work on Android?

开发者 https://www.devze.com 2022-12-21 03:48 出处:网络
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

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

精彩评论

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