Since onCreate()Activity is called only once, this is the point at which most initialization should be performed: a call setContentView(int)to inflate the activity user interface, using findViewById to programmatically interact with widgets in the user interface, calling managedQuery(android.net.Uri , String[], String, String[], String)to extract cursors to display data, etc.
onResume() onStart() ( ), setContentView() .