Version 19 (modified by xianyi, 7 years ago) (diff)


Android Sensor Library

JPG Logo


Student Researchers

  • Gradeigh D. Clark [gradeighdclark (AT) gmail (DOT) com]
  • Xianyi Gao [xianyigmsn (AT) hotmail (DOT) com]
  • Malathi Dharmalingam [dharmalingam (DOT) malathi (AT) gmail (DOT) com]
  • Theophilius Mensah [aimthesun (AT) yahoo (DOT) com]

Project Advisors

  • Ivan Seskar [sekar (AT) winlab (DOT) rutgers (DOT) edu]
  • Marco Gruteser [gruteser (AT) winlab (DOT) rutgers (DOT) edu]
  • Janne Lindqvist [janne (AT) winlab (DOT) rutgers (DOT) edu]
  • Kiran Nagaraja [nkiran (AT) winlab (DOT) rutgers (DOT) edu]


The goal of this summer project is to develop a library to more freely manipulate the sensors on Android devices. If a simple, usable library exists for sensor manipulation on Android devices then development of applications to use and analyze sensor data could be accelerated enormously. There is a considerable investment of time required as of now in regards to how much an individual needs to learn about gathering Android sensor data prior to actually using it -- it is our hope that with this project, developers can bypass these beginning steps and start the task of actually developing applications with their data rather than spending time to obtain it. In the long term, there exists a hope that the project will blossom into a general open-source sensor library where any individual regardless of creed and affiliation who wish to contribute to the library can do so without impedance.

Current Progress

Currently, a simplistic library has been constructed revolving around sensors controlled by a built-in Android class with the slight additions of the microphone and the GPS. The library is being tooled into an application that saves sensor data in three different ways:

  • Writes sensor data to a file
  • Writes sensor data to SQLite database
  • Uploads sensor data to a server

The first are currently implemented and the second is not.

The current iteration of the application gives the user a variety of fourteen sensors to opt to log data with (after specifying sampling rate for the individual sensors). For more advanced sensors with more settings than sampling rate, there will be a menu to edit their preferences.

A more detailed website with pictures and a current version of the app will be coming soon.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Attachments (15)

Download all attachments as: .zip