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
Ok, I will give a small example on how to do what you ask
public class ClassB extends Activity { ClassA A1 = new ClassA(this); // for activity context ClassA A2 = new ClassA(getApplicationContext()); // for application context. }