MultipleWorker for gathering android sensor data
Android app to gather sensor data in background.
Procedure to add more workers:
- create new periodic Request in foreground service
- add to queue with unique ID of worker
- create worker class implementing sensorListener
- gather data in onSensorChanged and use the saveData in utils to create new textfile internally to store
- call onstopped after execution time (long variable currently set at 5 secs) reached