Activity Lifecycle (i) and use of Help documentation

Source: Internet
Author: User
Tags android sdk manager

--------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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.