Several Basic Concepts in Android Development

Source: Internet
Author: User

1. Activity

Activity can be understood as a user interface, which usually indicates the applicationProgram. It usually contains one or more views, or does not contain views.

2. View

View is a UI element and a base class for all UI elements. textview, edittext, And button classes inherit from or indirectly inherit from the View class.

3. Intent

Intent usually defines the "intent" for executing an action ". Intent describes the actions and actions involved in Android applications. Android identifies the corresponding components based on the description of the intent and transmits the intent to the called components, and complete the call of the component. Therefore, intent playsMedia AgencySpecifically provide information about the mutual call of components,Decoupling between callers and callers.

4. contentprovider

We often need to share data between mobile apps on devices. Therefore, Android defines a standard mechanism for apps to share data. You can use contentprovider to publish data and allow applications to use data from other applications.

5. Service

Services in Android are similar to services in Windows or other platforms. They are all background processes that may run for a long time. Android defines two types of services: local service and remote service. A local service is a component that can only be accessed by applications that carry the service. Remote service is a service that can be remotely accessed by other applications running on the device.

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.