Technical Points of resumes for Android: Four android components, Android

Source: Internet
Author: User

Technical Points of resumes for Android: Four android components, Android

In fact, the main thing is to ask a basic question. If you write more estimates for your project, you will not be asked this question. This is definitely the case.


Activity:

In an application, an Activity is usually a single screen, which can display some controls or listen to and process user events to respond. Why can activities communicate with each other through Intent to process user events.

Activity is a subclass of Context and implements window. callback and keyevent. callback at the same time to process events that interact with form users.

A Service is a long-lived activity without interface that can be used to monitor programs. For example, I used the program lock in the toolbox. (Be sure to integrate with the Project. Don't always be asked by the interviewer. Who would like to talk more? Besides, if the interviewer has been in the face for a day, you should talk more about the technical points of your project, how awesome your technology is to let the interviewer know ).

BroadcastReceive broadcast receiver: Your application can use it to filter external events only for external events of interest (for example, when calls are received, or when data networks are available) receive and respond. The broadcast receiver has no user interface. However, they can start an activity or serice to respond to the information they receive. For example, the monitoring screen lock broadcast in my little white toolbox

I think you can use the last Content Provider of Content Provider. It is said that the interviewer asked me what the fourth parameter of the database table in the address book is.
It is mainly used for data sharing among multiple applications. The data can be stored in a file system or SQLite database. Generally, an application uses the Url provided by Android to ask the contact person of the library.


To continue with the above activity, you can also say that the activity's life cycle broadcast is different from the two registration methods. The step service is, aidl can both talk about it.

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.