Context in Android Programming

Possible duplicate:
What is the context in Android?

Can someone tell me about the term "context" used in android. It is interesting what exactly this means because it is what I saw in many places.

I found this to be a class: - "An interface to global application environmental information," but I still don't quite understand it.

for instance: public GetCurrentLocation (context context) {this.context = context; }

Thanks David

+4
source share
1 answer

I answered it here

this.context = context is written in perplexity. Another way to write the same thing:

public class LocationClass { private Context context_belonging_to_class = null; // .. public GetCurrentLocation(Context context_from_call_entity) { context_belonging_to_class = context_from_calling_entity; // initializing context variable } // .. } 
+2
source

All Articles