I think in Android you cannot write something like this:
AClassThatExtendedAnActivity instance = new AClassThatExtendedAnActivity();
the only way you can use to start an activity is to send it with the intention of starting your activity.
instantiation is encapsulated in super.onCreate(savedInstanceState);
when overriding the onCreate(Bundle savedInstanceState);
method onCreate(Bundle savedInstanceState);
Respectfully,
source share