Changed extend to Service and successfully tested file IO
added service
auto changes
sensor data gets now written to the specific sensor file
added onDestroy() code for unregistering sensor and closing file
updated comments
minor changes
updated comments
auto changes
added user notification if button gets pressed with toasts
added output and cleanup for all sensors
disabled log for each sensor event to reduce battery drain
added WakeLock permission
added WakeLock support
changed buffer size of the output streams from 8 to 128 kB
added a log output with sensor data count and timestamp
auto changes