This is the official repository of the SensorLib library, an Android library that helps collecting real-time windowed data at a fixed frequency from the sensors inside the Android device. The library was created to collect accelerometer and gyroscope data inside a WearOS device, but should work for any sensor and any device running android.
This repository contains the code used for the papers:
- SensorLib: an Energy-efficient Sensor-collection Library for Wear OS
- Real-time Energy-efficient Sensor Libraries for Wearable Devices
If you think our work is useful in your research, pleas consider citing:
@inproceedings{calisti2023sensorlib,
title={SensorLib: an Energy-efficient Sensor-collection Library for Wear OS},
author={Calisti, Lorenzo and Lattanzi, Emanuele and others},
booktitle={The 4th European Symposium on Software Engineering},
year={2023},
organization={Association for Computing Machinery (ACM)}
}
Inside the project there is an Android library module called sensorlib. This folder is divided in three subfolders, one for each version of the library (v1, v2, v3).