What is activity in Android? Activity Life Cycle

If you are beginner to android development and you are about to learn android development, you should know about ACTIVITY  ,

Activity presents the presentation layer of  an android application, so without an activity you can not develop android application,and an application can have several activities.
main activity gets created automatically for you ,when you create a new android project,

An activity has life cycle :
OnCreate():
OnStart():

OnResume():
OnPause():
OnDestroy():
OnStop():

Leave a Reply

Your email address will not be published. Required fields are marked *