Android summary of basic mechanisms to monitor events

Source: Internet
Author: User

Study the morning Android underlying mechanism event monitor, such as the following summary:

The kernel driver monitors the state and behavior of the hardware and sends events to the user space by the uevent mechanism;

Monitor uevent from the kernel via user space ueventobserver, processing.

The netlink mechanism is used for communication between


The articles are:


Android uses ueventobserver:

http://blog.csdn.net/lushengchu_luis/article/details/9466405

http://blog.csdn.net/dfysy/article/details/7330919


Android uses the uevent mechanism:

http://blog.csdn.net/yangwen123/article/details/9053527

Http://www.cnblogs.com/qclzdh/archive/2011/06/13/2080166.html


Linux NetLink Mechanism:

Http://stackoverflow.com/questions/22667332/how-to-use-netlink-sockets-for-kernel-userspace-communication-android

http://blog.csdn.net/azloong/article/details/6799476


Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Android summary of basic mechanisms to monitor events

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.