The Context object is used in the application to perform many functions, such as access resources, which the Android OS allocates for you.
- using getSystemService, you get a handle to your service, and you can do wonders.
- pass a context object to your classes to make a Toast
It is useful and effective when used properly.
Siddharth
source share