[android-beginners] Re: Understanding the basic overridden onCreate function

2008-12-13 Thread Doughy
OK, I see. So basically, by calling super.onCreate (savedInstanceState) one is making sure that any code in the superclass gets run, and then the stuff that is custom to the new class. Thanks. On Dec 13, 1:31 pm, Mark Murphy wrote: > Doughy wrote: > > I'm trying to understand the code for the

[android-beginners] Re: Understanding the basic overridden onCreate function

2008-12-13 Thread Mark Murphy
Doughy wrote: > I'm trying to understand the code for the basic onCreate function that > is part of every application. > > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > } > > I un