Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.43 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.43 KB

Android (Java) Demo App using InfluxDB for storing and quering sensor data

This Android Java app is used to store sensor data from accelerometer and gyroscope of the smartphone in X, Y, Z axis at regular time intervals into an InfluxDB Serverless database bucket.

  1. InfluxDB Java SDK
  2. MPAndroid Charts library for Data Visualization

Build & Run

  1. Download/Clone this project
  2. Build the project using Android Studio or Android CLI and Run the app onto an Android smartphone (preferred) or emulator
  3. Tilt and rotate the phone up/down and left and right direction to capture sensor readings.
  4. Open Settings in the "Menu" and provide your InfluxDB account information that you can find in the portal
  5. Hit "Save" and "Start Logging" to log the data
  6. Open 'View Data' to see the graph visualization of the past few minutes of the data that was stored and quried from your InfluxDB.
  7. Optionally navigate to your InfluxDB dashboard and query to see the smartphone sensor data that was just stored.