Develop an Android background service that collects movement sensors inputs (GPS, gyroscope, accelerometer, compass) in order to use them in a Unity3D app.
To allow a transparent and continuous tracking of the app's user, this service runs when the app goes in background.
Sensors from two collections can be tracked separately :
- GPS sensor : gps coordinates (WGS84)
- Movement sensors : gyroscope, accelerometer, compass
When the app goes in background, the background service is notified to start with a frequency required value for each sensor.
When going back in foreground, the Unity3D app can read the datas to recreate the route (by parsing the GPS records) and analyze the movements (via other collected datas) of the user.
Detailed specifications available in attached PDF.