Google is committed to advancing racial equity for Black communities. See how.

Interaction in Android

This section explains how Android processes the various inputs it receives from the keyboard, sensors, and more.


The Android input subsystem nominally consists of an event pipeline that traverses multiple layers of the system. At the lowest layer, the physical input device produces signals that describe state changes such as key presses and touch contact points.

Neural Networks

The Android Neural Networks API (NNAPI) runs computationally intensive operations for machine learning. This document provides an overview on how to implement a Neural Networks API driver for Android 9.

Peripherals and accessories

Using a suite of standard protocols, you can implement compelling peripherals and other accessories that extend Android capabilities in a wide range of Android-powered devices.


Android sensors give applications access to a mobile device's underlying physical sensors. They are data-providing virtual devices defined by sensors.h, the sensor Hardware Abstraction Layer (HAL).