Basic concept of activity
Activity represents the active window, and the content is displayed through the context loading page, and each activity must be registered in the manifest.xml.
An application consists of multiple interfaces, fallback stack, active window, new window join, old window pressed into the stack
Classes that inherit activity include:
The OnCreate () method internally has setcontextview (int layoutresid), which loads the resource file;
OnPause () The user leaves the activity and the system is automatically called, but the activity is not destroyed, and the data needs to be persisted in this life cycle, stored locally
Activity is the active window,
The system runs based on intent to find the activity that needs to be run
android.intent.action.main--main Window
Intended to handle user requests: Make a call, send a text message, or transfer values between forms by intent
Another activity initiates the current activity
Activity Value Delivery
Activity Callback Value
Activity Live Save Status
Activity life cycle
Create
Stop
Destory
Android Basics: Activity