I don\'t really get the idea behind how this whole thing works really, so if I have some class A that need the context of a class B which extends <
A
B
You can create a constructor using parameter Context of class A then you can use this context.
Context c;
A(Context context){ this.c=context }
From B activity you create a object of class A using this constructor and passing getApplicationContext().