--------Siwuxie95
First create a activitylifecircle
Choose api:21 Android 5.0 (until now: 2016/12/21, connecting, better compatible)
Select empty activity empty activities
Default
Creation Complete
Open the CMD Command Line window and enter Android (case insensitive) to open the Android SDK Manager
Or find the installation directory of the SDK double-click Run SDK Manager.exe also open the Android SDK Manager (e.g.)
Find documentatioin for Android SDK tick on download install (this is already installed status)
After the help document has been downloaded, open the Doc directory under the SDK installation directory and double-click the index.html
After opening in the browser:
Develop->api Guides (or Develop->reference->api classes->api packeges,ctrl+f search Activity)
Open activities, the Activity's Help document, under APP components
Life cycle diagram of activity:
7 methods:
OnCreate (), OnStart (), Onresume (),
OnPause (), OnStop (), Onrestart (), OnDestroy ()
The Help document also has direct access to the website: http://www.android-doc.com/
No points, download free beans directly download offline CHM documents:
One of the double caves of the sly Rabbit: http://download.csdn.net/detail/siwuxie095/9718079
Sly Rabbit Double Cave Second: http://down.51cto.com/data/2271200
"Made by siwuxie095"
Activity Lifecycle (i) and use of Help documentation