What is a context in android?

a).It is an interface to global information of an application.
b).contexts are generally used to create a new components or objects, like views. 
c).Contexts are also used to start an activity, or service or a receiver.
d).There are two types of contexts, activity context(this) and applicationcontext. You can obtain application context by getApplicationContext() method.

No comments:

Post a Comment