Here, I am gonna explore coding, Debugging, Error fixing, My articles and other technical posts. So stay tuned.

What is Context in android | Explanation of context class in android.

No comments

Context in Android

It is the Abstract class and it is present in android.content.Context package. 

There is many use of this context class and let me explain here everything about it.

Here is the following uses of Context class :
  1. It allows access to application-specific resources and classes.
  2. It works in launching activities.
  3. Broad Casting
  4. Receiving intents, etc
Now there is many use of Context the question is what is context.In simple words "What ever related to the application environment Context will help you in that cause". It is a Abstract class. So There is no need to make a object of it.Its implementation is provided by the android system.

No comments :

Post a Comment