thx again for you answer!
i know, why constructors exist - but therefore i ask how they are used in android. because, if you take a look at the actitiy-lifecircle picture, there is NO constructor as we use it from the normal java language mentioned..
for example, if i want to start my activity class, lets say the name of it is MyNewObjectClass with a constructor taking a paramter value Object o like
Using java Syntax Highlighting
public MyNewObjectClass(Object o){
}
Parsed in 0.030 seconds, using
GeSHi 1.0.8.4
it will never be called if we use it for example this way:
Using java Syntax Highlighting
Intent i = new Intent(this, MyNewObjectClass.class);
startSubActivity(i, 1);
Parsed in 0.030 seconds, using
GeSHi 1.0.8.4
i think it seems that we (the developers) should not use them this way withing activites because - for activites we have onCreate()
hm..