© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
A. ColubriProcessing for Androidhttps://doi.org/10.1007/978-1-4842-9585-4_7

7. Reading Sensor Data

Andrés Colubri1  
(1)
University of Massachusetts, Worcester, MA, USA
 

Android devices are capable of capturing data from the physical world using many different sensors, including accelerometer, gyroscope, and GPS. In this chapter, we will learn how to access this data from our Processing sketch using the Android SDK and the Ketai library.

Sensors in Android Devices

Mobile devices, from smartphones to smartwatches and fitness trackers, are equipped with a wide range of hardware sensors to capture data from the movement, environment, and location of the device ...

Get Processing for Android: Create Mobile, Sensor-aware, and XR Applications Using Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.