What is Context?

In many methods i see there is a parameter asking for context, what does it exactly mean?

See here:

See also the Android documentation:
https://developer.android.com/reference/android/content/Context
You can also get the Context of your extension container ( the form that holds the extension), to use it in the methods that need it:

Context context = container.$context();
1 Like

I don't know much about it but I think the context object specifies android that which app/package has invoked the method.
It is like an instance of your app.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.