Is onCreate called when a class object that extends activity is created? Or is it only called when an activity is started, for example over startActivity(...).
i think that in Android , you cant write something like this :
AClassThatExtendedAnActivity instance = new AClassThatExtendedAnActivity();
the only way that you can use to launch an activity is passing with an intent to start your activity .
the creation of the instance is encapsulated on the super.onCreate(savedInstanceState); when you override the method onCreate(Bundle savedInstanceState);
Regards ,