Android Programming and Technical Programming Technical

What is the life cycle of foreground activity in android?
Options
1) onCreate() −> onStart() −> onResume() −> onStop() −> onRestart
2) onCreate() −> onStart() −> onResume() −>onStop()
3) onCreate() −> onStart() −> onResume()
4) None of the Above

Read Solution (Total 5)

Android Other Question

Explain android activity life cycle?

Options
1) onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop() −> onActivityDistroy() −> onDestroy()
2) OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onRestart() −> onDestroy()
3) OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
4) OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onDestroy()


What is Manifest.xml in android?

Options
1) It has information about layout in an application
2) It has the information about activities in an application
3) It has all the information about an application
4) None of the above