[android-developers] super.onCreate(savedInstanceState)

2011-06-15 Thread Android
The Reason we use onCreate(savedInstanceState) because, upon super.onCreate() it will reach the Activity (parent class of any activity) class to load the savedInstanceState. (beacause the demo activity class we have created is not capable of loading the saved state) Yeah, we normaly don't set any

Re: [android-developers] super.onCreate(savedInstanceState)

2011-06-15 Thread Dianne Hackborn
Are you just asking why you are required to call super.onCreate()? If so, you are required to call the super class of that and onStop() and onResume() and others just to prevent apps from forgetting to call the base class implementation and causing them to break when the platform changes in the